Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Commit

Permalink
MDL-30637 backup: Disable shortforms for backup interface
Browse files Browse the repository at this point in the history
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 a4f1834
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backup/util/ui/base_moodleform.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a4f1834

Please sign in to comment.