MDL-22764, added cancel button

This commit is contained in:
Dongsheng Cai 2010-06-23 02:50:13 +00:00
parent 442ff17a35
commit e30cffa2a7

View File

@ -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);
}
}