MDL-69165 Questions: Incorrect id used in init_submit_button function
[moodle.git] / question / behaviour / interactive / renderer.php
index 86681d5..91a76bc 100644 (file)
@@ -66,7 +66,7 @@ class qbehaviour_interactive_renderer extends qbehaviour_renderer {
         $output = html_writer::empty_tag('input', $attributes);
         if (empty($attributes['disabled'])) {
             $this->page->requires->js_init_call('M.core_question_engine.init_submit_button',
-                    array($attributes['id'], $qa->get_slot()));
+                    array($attributes['id']));
         }
         return $output;
     }