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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user