Commit 8f86a2e2 by Tim Krones

Make sure "Review grade" button is disabled at last step.

parent 6a86b678
...@@ -98,6 +98,7 @@ function MentoringWithStepsBlock(runtime, element) { ...@@ -98,6 +98,7 @@ function MentoringWithStepsBlock(runtime, element) {
validateXBlock(); validateXBlock();
nextDOM.attr('disabled', 'disabled'); nextDOM.attr('disabled', 'disabled');
if (isLastStep() && reviewStepPresent()) { if (isLastStep() && reviewStepPresent()) {
reviewDOM.attr('disabled', 'disabled');
reviewDOM.show(); reviewDOM.show();
} }
} }
......
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