MDL-59921 calendar: remove disabledIf from group select
authorSimey Lameze <simey@moodle.com>
Thu, 12 Oct 2017 01:19:43 +0000 (09:19 +0800)
committerSimey Lameze <simey@moodle.com>
Thu, 12 Oct 2017 01:19:43 +0000 (09:19 +0800)
calendar/classes/local/event/forms/create.php

index fe1125d..0beb6e0 100644 (file)
@@ -271,7 +271,7 @@ class create extends \moodleform {
 
             $mform->addElement('select', 'groupid', get_string('group'), $groupoptions);
             $mform->hideIf('groupid', 'eventtype', 'noteq', 'group');
-            $mform->disabledIf('groupid', 'groupcourseid', 'eq', '');
+            // We handle the group select hide/show actions on the event_form module.
         }
     }