MDL-32627 enable ajax by default in new user form

This change makes the new user form consistent with install.xml default. I do not think we should discourage ajax any more.
This commit is contained in:
Petr Skoda 2012-04-26 19:10:19 +02:00
parent aa753ac24f
commit 789df20f64

View File

@ -206,7 +206,7 @@ function useredit_shared_definition(&$mform, $editoroptions = null) {
$choices['0'] = get_string('ajaxno');
$choices['1'] = get_string('ajaxyes');
$mform->addElement('select', 'ajax', get_string('ajaxuse'), $choices);
$mform->setDefault('ajax', 0);
$mform->setDefault('ajax', 1);
}
$choices = array();