MDL-61133 core_question: disable form change checker
authorSimey Lameze <simey@moodle.com>
Thu, 8 Feb 2018 02:10:51 +0000 (10:10 +0800)
committerSimey Lameze <simey@moodle.com>
Thu, 8 Feb 2018 02:10:51 +0000 (10:10 +0800)
question/type/tags_form.php

index f2a59c6..a3af411 100644 (file)
@@ -41,6 +41,7 @@ class tags extends \moodleform {
      */
     public function definition() {
         $mform = $this->_form;
+        $mform->disable_form_change_checker();
 
         $mform->addElement('hidden', 'id');
         $mform->setType('id', PARAM_INT);