mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-26523 grade: fixed a called to addHelpButton() that was asking for a non-existent string
This commit is contained in:
parent
ead4f180a0
commit
692e4f7b4d
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class edit_grade_form extends moodleform {
|
||||||
}
|
}
|
||||||
|
|
||||||
$mform->addElement('select', 'finalgrade', get_string('finalgrade', 'grades'), $scaleopt);
|
$mform->addElement('select', 'finalgrade', get_string('finalgrade', 'grades'), $scaleopt);
|
||||||
$mform->addHelpButton('finalgrade', 'finalgrade', 'finalgrade');
|
$mform->addHelpButton('finalgrade', 'finalgrade', 'grades');
|
||||||
$mform->disabledIf('finalgrade', 'overridden', 'notchecked');
|
$mform->disabledIf('finalgrade', 'overridden', 'notchecked');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue