Moodle

formslib: modgrade element uses deprecated link_to_popup_window as a callback for help icon

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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.

Issue Links

Activity

Hide
David Mudrak added a comment -

Fixed in HEAD. setHelpButton() uses new callback function modgradehelpbutton() defined in lib/weblib.php

Show
David Mudrak added a comment - Fixed in HEAD. setHelpButton() uses new callback function modgradehelpbutton() defined in lib/weblib.php
Hide
David Mudrak added a comment -

this bug was causing problems in many modules, including new workshop

Show
David Mudrak added a comment - this bug was causing problems in many modules, including new workshop

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: