Commit b5db41c4 by Sven Marnach

Hide "Review final grade" link by default.

The link is only used during extended feedback in assessment mode.  It's hidden
on page load by JS in all cases, and only shown if the student goes back to a
question after using up all attempts, so we can just as well hide it in CSS.

This fixes MCKIN-3099.
parent c8fda840
......@@ -165,4 +165,5 @@
.mentoring .review-link {
float: right;
}
\ No newline at end of file
display: none;
}
......@@ -102,7 +102,6 @@ function MentoringAssessmentView(runtime, element, mentoring) {
checkmark = $('.assessment-checkmark', element);
messagesDOM = $('.assessment-messages', element);
reviewLinkDOM.hide();
submitDOM.show();
submitDOM.bind('click', submit);
nextDOM.bind('click', displayNextChild);
......
......@@ -75,8 +75,6 @@ function MentoringStandardView(runtime, element, mentoring) {
submitDOM = $(element).find('.submit .input-main');
submitDOM.bind('click', submit);
submitDOM.show();
// Not used in standard mode.
$(element).find('.review-link').hide();
var options = {
onChange: onChange
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment