MDL-36347 quiz: formchangechecker should not obstruct auto-submit.
When the quiz time limit runs out, the quiz should be submitted automatically, withouth formchangechecker popping up a dialogue.
This commit is contained in:
@@ -101,6 +101,7 @@ M.mod_quiz.timer = {
|
||||
if (form.one('input[name=finishattempt]')) {
|
||||
form.one('input[name=finishattempt]').set('value', 0);
|
||||
}
|
||||
M.core_formchangechecker.set_form_submitted();
|
||||
form.submit();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user