Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit a4f1834dcaa45257d7ff50d07c11c9b6bd0c17db 1 parent a00bafa
@kabalin kabalin authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  backup/util/ui/base_moodleform.class.php
1  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();
Please sign in to comment.
Something went wrong with that request. Please try again.