mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-22764, added cancel button
This commit is contained in:
parent
442ff17a35
commit
e30cffa2a7
@ -30,6 +30,6 @@ class mod_folder_edit_form extends moodleform {
|
||||
$mform->addElement('hidden', 'id', $cmid);
|
||||
$mform->addElement('filemanager', 'files_filemanager', get_string('files'), null, array('subdirs'=>1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL));
|
||||
$submit_string = get_string('submit');
|
||||
$this->add_action_buttons(false, $submit_string);
|
||||
$this->add_action_buttons(true, $submit_string);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user