Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Ruslan Kabalin kabalin authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  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
81 81 function definition() {
82 82 $ui = $this->uistage->get_ui();
83 83 $mform = $this->_form;
  84 + $mform->setDisableShortforms();
84 85 $stage = $mform->addElement('hidden', 'stage', $this->uistage->get_stage());
85 86 $stage = $mform->addElement('hidden', $ui->get_name(), $ui->get_uniqueid());
86 87 $params = $this->uistage->get_params();

0 comments on commit a4f1834

Please sign in to comment.
Something went wrong with that request. Please try again.