mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-64557 category: switch disabledIf to hideIf on delete form
This commit is contained in:
parent
87c7fb6e9a
commit
309686547a
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class core_course_deletecategory_form extends moodleform {
|
|||
if (in_array($this->coursecat->parent, $displaylist)) {
|
||||
$mform->setDefault('newparent', $this->coursecat->parent);
|
||||
}
|
||||
$mform->disabledIf('newparent', 'fulldelete', 'eq', '1');
|
||||
$mform->hideIf('newparent', 'fulldelete', 'eq', '1');
|
||||
}
|
||||
|
||||
$mform->addElement('hidden', 'categoryid', $this->coursecat->id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue