Issue Details (XML | Word | Printable)

Key: MDL-16675
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Tim Hunt
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

Change require_js so that callers don't have to fiddly around with $CFG->wwwroot

Created: 25/Sep/08 02:28 PM   Updated: 25/Sep/08 02:42 PM
Return to search
Component/s: Lib
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Tim Hunt
Security Level: None
Resolved date: 25/Sep/08
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
require_js should prepend $CFG->httpswwwroot automatically. I will keep the old behaviour for backwards compatibility, but I will update all callers in core.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
tjhunt committed 13 files to 'Moodle CVS' - 25/Sep/08 02:40 PM
MDL-16675 change callers to require_js to take advantage of the fact that callers no longer have to add $CFG->wwwroot themselves.
MODIFY group/index.php   Rev. 1.44    (+2 -5 lines)
MODIFY calendar/lib.php   Rev. 1.228    (+2 -2 lines)
MODIFY portfolio/type/download/Attic/file.php   Rev. 1.2    (+1 -4 lines)
MODIFY grade/report/grader/index.php   Rev. 1.79    (+2 -2 lines)
MODIFY mod/quiz/attempt.php   Rev. 1.158    (+2 -2 lines)
MODIFY blocks/admin_tree/block_admin_tree.php   Rev. 1.39    (+2 -2 lines)
MODIFY course/view.php   Rev. 1.117    (+3 -3 lines)
MODIFY mod/quiz/summary.php   Rev. 1.7    (+1 -1 lines)
MODIFY mod/quiz/review.php   Rev. 1.82    (+2 -2 lines)
MODIFY mod/quiz/view.php   Rev. 1.151    (+2 -3 lines)
MODIFY admin/report/capability/index.php   Rev. 1.5    (+2 -2 lines)
MODIFY tag/coursetagslib.php   Rev. 1.4    (+1 -1 lines)
MODIFY lib/questionlib.php   Rev. 1.172    (+2 -2 lines)
Tim Hunt made changes - 25/Sep/08 02:42 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]