Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-42216

Mymobile theme: javascript error freeze the front page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 2.5.2
    • Fix Version/s: None
    • Component/s: Themes
    • Labels:
    • Affected Branches:
      MOODLE_25_STABLE

      Description

      To reproduce (chrome):
      1- enable completion tracking, enable completion in the course
      2- have some activities and make them completed by the student
      3- switch to mymobile theme. Go to the front page. Click on the course, the loading icon freeze, this js error is displayed:

      Uncaught TypeError: Cannot call method 'init' of undefined
      (anonymous function)
      e._notify yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:3
      (anonymous function) yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:3
      e._notify yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:3
      T yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:3
      e.Loader._finish yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:31
      e.Loader._onSuccess yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:31
      p yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:31
      e.Loader._insert yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:31
      (anonymous function) yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:32
      e.Loader._continue yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:32
      e.Loader.insert yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:32
      e._use yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:3
      e.use yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:3
      (anonymous function)
      e._notify yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:3
      (anonymous function) yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:3
      e._notify yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:3
      T yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:3
      e._use yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:3
      e.use yui_combo.php?3.9.1/build/simpleyui/simpleyui-min.js&3.9.1/build/loader/loader-min.js:3
      (anonymous function)
      (anonymous function) jquery-1.10.2.min.js:4
      x.extend.globalEval jquery-1.10.2.min.js:4
      x.fn.extend.domManip jquery-1.10.2.min.js:5
      x.fn.extend.append jquery-1.10.2.min.js:5
      x.fn.(anonymous function) jquery-1.10.2.min.js:5
      $.ajax.success jquery.mobile-1.3.1.js:4366
      c jquery-1.10.2.min.js:4
      p.fireWith jquery-1.10.2.min.js:4
      k jquery-1.10.2.min.js:6
      r jquery-1.10.2.min.js:6

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jerome Jérôme Mouneyrac
              Participants:
              Component watchers:
              Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: