diff --git a/user/editlib.php b/user/editlib.php index 59228ecbc6c..dabeff88b81 100644 --- a/user/editlib.php +++ b/user/editlib.php @@ -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();