MDL-11519 Commented out the Ajax option

This commit is contained in:
nicolasconnault 2007-10-05 05:37:55 +00:00
parent 05a334392c
commit 323956abd9
2 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ class grader_report_preferences_form extends moodleform {
$preferences['prefgeneral']['aggregationposition'] = array(GRADE_REPORT_PREFERENCE_DEFAULT => 'default',
GRADE_REPORT_AGGREGATION_POSITION_LEFT => get_string('left', 'grades'),
GRADE_REPORT_AGGREGATION_POSITION_RIGHT => get_string('right', 'grades'));
$preferences['prefgeneral']['enableajax'] = $checkbox_default;
// $preferences['prefgeneral']['enableajax'] = $checkbox_default;
$preferences['prefshow']['showuserimage'] = $checkbox_default;
$preferences['prefshow']['showactivityicons'] = $checkbox_default;

View File

@ -47,8 +47,8 @@ $settings->add(new admin_setting_configselect('grade_report_meanselection', get_
array(GRADE_REPORT_MEAN_ALL => get_string('meanall', 'grades'),
GRADE_REPORT_MEAN_GRADED => get_string('meangraded', 'grades'))));
$settings->add(new admin_setting_configcheckbox('grade_report_enableajax', get_string('enableajax', 'grades'),
get_string('configenableajax', 'grades'), 0));
// $settings->add(new admin_setting_configcheckbox('grade_report_enableajax', get_string('enableajax', 'grades'),
// get_string('configenableajax', 'grades'), 0));
$settings->add(new admin_setting_configcheckbox('grade_report_showcalculations', get_string('showcalculations', 'grades'),
get_string('configshowcalculations', 'grades'), 0));