mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
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:
parent
6109f2112c
commit
b5488ffdaa
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user