mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
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:
parent
aa753ac24f
commit
789df20f64
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user