Moodle

Clean up all the places we link to javascript files, to use $PAGE->requires->js

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Libraries
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

That is, try to get rid of $CFG->javascript, and the truely horrific global $standard_javascript.

Activity

Hide
Sam Hemelryk added a comment -

All done other than themes, these will be hopefully upgraded in the future. Remnants still exist in output classes as legacy themes will still be calling
<code php>
include($CFG->javascript)
</code>

Show
Sam Hemelryk added a comment - All done other than themes, these will be hopefully upgraded in the future. Remnants still exist in output classes as legacy themes will still be calling <code php> include($CFG->javascript) </code>
Hide
Tim Hunt added a comment -

Wow! that must feel like getting to the end of a marathon.

Show
Tim Hunt added a comment - Wow! that must feel like getting to the end of a marathon.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: