mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 20:53:53 +01:00
157434a522
That bit of JavaScript from mod/quiz/attempt.php is needed in question preview too, so refactor a bit. I was disappointed to find that the $PAGE->requires->js_module('core_question_engine'); line was needed in quiz_get_js_module, but it seems to be. Also change non-Moodle-y string "End test..." to "Finish attempt..."