MDL-36347 quiz: formchangechecker should not obstruct auto-submit.
[moodle.git] / mod / quiz / module.js
index ce0d359..70332fa 100644 (file)
@@ -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;
         }