MDL-47058 core_grades: allow alteration of weight

Part of MDL-46576
This commit is contained in:
Mark Nelson
2014-10-03 13:51:29 +08:00
committed by Adrian Greeve
parent 268085a187
commit 430b9ef507
+1 -1
View File
@@ -103,7 +103,7 @@ class edit_item_form extends moodleform {
$mform->addElement('text', 'aggregationcoef2', get_string('weight', 'grades'));
$mform->addHelpButton('aggregationcoef2', 'weight', 'grades');
$mform->setType('aggregationcoef2', PARAM_RAW);
$mform->hardFreeze('aggregationcoef2');
$mform->disabledIf('aggregationcoef2', 'weightoverride');
$mform->addElement('text', 'gradepass', get_string('gradepass', 'grades'));
$mform->addHelpButton('gradepass', 'gradepass', 'grades');