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

MyMobile theme conflicts with course completion

XMLWordPrintable

    • MOODLE_25_STABLE

      There seems to be a problem which may involve completion and jQuery.

      Using the MyMobile theme, if I go to a course where completion is not enabled, it loads the course. When I go try to enter a course that has completion enabled I get the following JS errors and cannot navigate to those courses.

      Firefox

      TypeError: M.core_completion is undefined
      http://michael.moodle.local/master_integration/theme/jquery.php/core/jquery-1.10.2.js
      Line 617
      

      Chrome

      Uncaught TypeError: Cannot call method 'init' of undefined
      (anonymous function)
      proto._notify yui_combo.php:970
      (anonymous function) yui_combo.php:945
      proto._notify yui_combo.php:970
      handleLoader yui_combo.php:1115
      Y.Loader._finish yui_combo.php:22555
      Y.Loader._onSuccess yui_combo.php:22604
      complete yui_combo.php:22849
      Y.Loader._insert yui_combo.php:22858
      (anonymous function) yui_combo.php:22946
      Y.Loader._continue yui_combo.php:22929
      Y.Loader.insert yui_combo.php:22948
      proto._use yui_combo.php:1178
      proto.use yui_combo.php:944
      (anonymous function)
      proto._notify yui_combo.php:970
      (anonymous function) yui_combo.php:945
      proto._notify yui_combo.php:970
      handleLoader yui_combo.php:1115
      proto._use yui_combo.php:1206
      proto.use yui_combo.php:944
      (anonymous function)
      (anonymous function) jquery-1.10.2.js:612
      jQuery.extend.globalEval jquery-1.10.2.js:613
      jQuery.fn.extend.domManip jquery-1.10.2.js:6281
      jQuery.fn.extend.append jquery-1.10.2.js:6047
      jQuery.fn.(anonymous function) jquery-1.10.2.js:6442
      $.ajax.success jquery.mobile-1.3.1.js:4366
      fire jquery-1.10.2.js:3048
      self.fireWith jquery-1.10.2.js:3160
      done jquery-1.10.2.js:8235
      callback jquery-1.10.2.js:8778
      

            Unassigned Unassigned
            salvetore Michael de Raadt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.