Details

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

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            pilpi Olli Savolainen
            Reporter:
            pilpi Olli Savolainen
            Participants:
            Component watchers:
            Anthony Borrow
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: