MDL-30637 backup: Disable shortforms for backup interface

As all sections requre user attention or input, there is no sense making them
collapsed in backing up interface.
This commit is contained in:
Ruslan Kabalin
2013-02-07 14:27:02 +00:00
parent a00bafaa65
commit a4f1834dca
+1
View File
@@ -81,6 +81,7 @@ abstract class base_moodleform extends moodleform {
function definition() {
$ui = $this->uistage->get_ui();
$mform = $this->_form;
$mform->setDisableShortforms();
$stage = $mform->addElement('hidden', 'stage', $this->uistage->get_stage());
$stage = $mform->addElement('hidden', $ui->get_name(), $ui->get_uniqueid());
$params = $this->uistage->get_params();