Issue Details (XML | Word | Printable)

Key: MDL-16673
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Sam Hemelryk
Reporter: Tim Hunt
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-16583

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

Created: 25/Sep/08 11:08 AM   Updated: 17/Sep/09 05:39 PM
Return to search
Component/s: Lib
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Sam Hemelryk and Tim Hunt
Security Level: None
Resolved date: 17/Sep/09
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


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

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Sam Hemelryk added a comment - 17/Sep/09 01:51 PM
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>

Tim Hunt added a comment - 17/Sep/09 05:39 PM
Wow! that must feel like getting to the end of a marathon.