Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0
-
Component/s: Forms Library
-
Labels:None
-
Affected Branches:MOODLE_20_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
modgrade's setHelpButton() still uses deprecated link_to_popup_window() to display a popup window with the list of scales available in the course. Because 'link_to_popup_window' is used here as a callback, it can't be simply transformed into $OUTPUT method. I am going to write new function in weblib to handle this in a similar way as htmleditor or smileys do.
Fixed in HEAD. setHelpButton() uses new callback function modgradehelpbutton() defined in lib/weblib.php