Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: General
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Rank:
      35845

      Description

      Convert all legacy at_top_of_body(); these constructs are discouraged because all JS should be done in footer through one of these:
      1/ YUI events
      2/ $PAGE->requires->js_init_code()
      3/ $PAGE->requires->js_function_call()

      it is recommended to use external YUI modules $PAGE->requires->js_module() libraries instead of $PAGE->requires->js()

        Activity

        Hide
        Petr Škoda added a comment -

        discussed this with tim, we both agreed this should not be supported, yay!

        Show
        Petr Škoda added a comment - discussed this with tim, we both agreed this should not be supported, yay!
        Hide
        Petr Škoda added a comment -

        done, gone, yay!

        Show
        Petr Škoda added a comment - done, gone, yay!

          People

          • Assignee:
            Petr Škoda
            Reporter:
            Petr Škoda
            Tester:
            Nobody
            Participants:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: