Permalink
Browse files

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.
  • Loading branch information...
kabalin committed Feb 7, 2013
1 parent a00bafa commit a4f1834dcaa45257d7ff50d07c11c9b6bd0c17db
Showing with 1 addition and 0 deletions.
  1. +1 −0 backup/util/ui/base_moodleform.class.php
@@ -81,6 +81,7 @@ function __construct(base_ui_stage $uistage, $action=null, $customdata=null, $me
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();

0 comments on commit a4f1834

Please sign in to comment.