mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-38833 core_grade: added a set_type for finalgrade
This commit is contained in:
parent
5f8a42728f
commit
15b0930288
@ -58,6 +58,7 @@ class edit_grade_form extends moodleform {
|
||||
if ($grade_item->gradetype == GRADE_TYPE_VALUE) {
|
||||
// numeric grade
|
||||
$mform->addElement('text', 'finalgrade', get_string('finalgrade', 'grades'));
|
||||
$mform->setType('finalgrade', PARAM_RAW);
|
||||
$mform->addHelpButton('finalgrade', 'finalgrade', 'grades');
|
||||
$mform->disabledIf('finalgrade', 'overridden', 'notchecked');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user