From: nicolasconnault Date: Fri, 5 Oct 2007 05:37:55 +0000 (+0000) Subject: MDL-11519 Commented out the Ajax option X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=323956abd9a4619a635f3c144f1206683ed000ee;p=moodle.git MDL-11519 Commented out the Ajax option --- diff --git a/grade/report/grader/preferences_form.php b/grade/report/grader/preferences_form.php index 049abbcf9f..fd9bfd3859 100644 --- a/grade/report/grader/preferences_form.php +++ b/grade/report/grader/preferences_form.php @@ -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; diff --git a/grade/report/grader/settings.php b/grade/report/grader/settings.php index 2d555064e6..757285ff9a 100644 --- a/grade/report/grader/settings.php +++ b/grade/report/grader/settings.php @@ -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));