Issue Details (XML | Word | Printable)

Key: MDL-16583
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Sam Hemelryk
Reporter: Tim Hunt
Votes: 2
Watchers: 7
Operations

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

Clean up JavaScript usage in HEAD

Created: 19/Sep/08 01:40 PM   Updated: 18/Jun/09 03:57 PM
Return to search
Component/s: Lib
Affects Version/s: 2.0
Fix Version/s: 2.0

Issue Links:
Duplicate
 

Participants: Eloy Lafuente (stronk7), Sam Hemelryk and Tim Hunt
Security Level: None
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE

Sub-Tasks  All   Open   
 Sub-Task Progress: 

 Description  « Hide
See the sub tasks for details.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
tjhunt committed 6 files to 'Moodle CVS' - 23/Sep/08 03:00 PM
MDL-16583 - Clean up some fo the places we link to javascript files, to use require_js
MODIFY calendar/lib.php   Rev. 1.227    (+3 -3 lines)
MODIFY grade/report/grader/index.php   Rev. 1.78    (+3 -3 lines)
MODIFY admin/xmldb/Attic/javascript.php   Rev. 1.5    (+2 -2 lines)
MODIFY course/report/progress/index.php   Rev. 1.9    (+1 -1 lines)
MODIFY tag/coursetagslib.php   Rev. 1.3    (+3 -2 lines)
MODIFY course/view.php   Rev. 1.116    (+10 -10 lines)
tjhunt committed 2 files to 'Moodle CVS' - 24/Sep/08 05:32 PM
MDL-16583 - Clean up javascript: Move some static scripts out of javascript.php and into javascript-static.js. Also, ensure the HTML editor JS is only included if the user has chosen to use the HTML editor.
MODIFY lib/javascript-static.js   Rev. 1.43    (+46 -0 lines)
MODIFY lib/Attic/javascript.php   Rev. 1.43    (+19 -64 lines)
tjhunt committed 3 files to 'Moodle CVS' - 25/Sep/08 02:29 PM
MDL-16583 Make require_js accept library names like lib/javascript-static.js without the caller having to fiddle around with $CFG->wwwroot themselves.
ADD lib/ajax/simpletest/testajaxlib.php   Rev. 1.1    (+0 -0 lines)
MODIFY lib/weblib.php   Rev. 1.1151    (+18 -17 lines)
MODIFY lib/ajax/ajaxlib.php   Rev. 1.47    (+7 -5 lines)
tjhunt committed 1 file to 'Moodle CVS' - 26/Sep/08 04:22 PM
MDL-16583 switch to print_js_call
MODIFY admin/report/capability/index.php   Rev. 1.6    (+2 -2 lines)
tjhunt committed 3 files to 'Moodle CVS' - 10/Dec/08 05:57 PM
javascript cleanup: MDL-16583 clean up the close_window function in weblib.php.
MODIFY lib/javascript-static.js   Rev. 1.55    (+16 -0 lines)
MODIFY lib/weblib.php   Rev. 1.1185    (+24 -19 lines)
MODIFY lang/en_utf8/moodle.php   Rev. 1.219    (+2 -1 lines)
martignoni committed 1 file to 'Lang CVS' - 10/Dec/08 07:45 PM
New string for MDL-16583
MODIFY fr_utf8/moodle.php   Rev. 1.266    (+2 -1 lines)
Mitsuhiro Yoshida committed 4 files to 'Lang CVS' - 11/Dec/08 01:36 PM
MDL-17429 MDL-16867 Translated new strings fro admin.
MDL-16583 Translated a new string for the close_window function.
MDL-17575 Translated a new string for role.
MODIFY ja_utf8/admin.php   Rev. 1.323    (+8 -2 lines)
MODIFY ja_utf8/moodle.php   Rev. 1.338    (+3 -2 lines)
MODIFY ja_utf8/README   Rev. 1.889    (+1 -1 lines)
MODIFY ja_utf8/role.php   Rev. 1.85    (+2 -1 lines)