MDL-47058 core_grades: allow alteration of weight
Part of MDL-46576
This commit is contained in:
committed by
Adrian Greeve
parent
268085a187
commit
430b9ef507
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user