-
Sub-task
-
Resolution: Fixed
-
Minor
-
None
-
2.0
-
None
-
MOODLE_20_STABLE
Move to appropriate libraries and themes; research what is the optimal approach with these
edit.php's own javascript functionality is currently included in the body of the page and this works ok and validates.
Stylesheets need to be added to the theming system, but some of them are theme-independent since they define the layout of quiz UI without which Quiz would be broken. It would seem reasonable not to force the user's browser to download all of these styles unless they actually use the edit tabs. is this possible in moodle currently?
Hiding the repaginating dialog, only to users with javascript, properly requires loading the extra stylesheet using js in head of the page. I currently have a hack for this (in lib/weblib.php), but some mechanism should be provided to bring this to the head section of html produced by only edit.php. Also it is currently non-yui javascript atm, but assuming that moodle is going to use the newest yui lib in 2.0, this can easily be made into YUI javascript.