MDL-47106 quiz 'secure' window: Finish review link did not work
authorMatthew Pruett <matt.pruett@statetechmo.edu>
Sun, 13 Dec 2015 22:07:43 +0000 (22:07 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Sun, 13 Dec 2015 22:08:36 +0000 (22:08 +0000)
mod/quiz/renderer.php

index b5173a2..b11ed81 100644 (file)
@@ -234,7 +234,7 @@ class mod_quiz_renderer extends plugin_renderer_base {
 
         if ($attemptobj->get_access_manager(time())->attempt_must_be_in_popup()) {
             $this->page->requires->js_init_call('M.mod_quiz.secure_window.init_close_button',
-                    array($url), quiz_get_js_module());
+                    array($url), false, quiz_get_js_module());
             return html_writer::empty_tag('input', array('type' => 'button',
                     'value' => get_string('finishreview', 'quiz'),
                     'id' => 'secureclosebutton'));