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

Mymobile theme: javascript error on course pages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.5.3
    • Component/s: Themes
    • Labels:
    • Environment:
      Chrome
    • Testing Instructions:
      Hide

      In a desktop browser and on mobile devices

      1. Turn on all debugging (I commented it out in my config).
      2. Turn on theme designer mode and turn on cachejs. (MDK run dev.php)
      3. In clean theme, log in as admin
      4. Enter a course that does not have the My Private Files block
      5. Turn editing on
      6. Swap to MyMobile theme.
      7. Check for errors in the console (on Desktop)
      8. Ensure drag and drop of sections is working (on Desktop)
      Show
      In a desktop browser and on mobile devices Turn on all debugging (I commented it out in my config). Turn on theme designer mode and turn on cachejs. (MDK run dev.php) In clean theme, log in as admin Enter a course that does not have the My Private Files block Turn editing on Swap to MyMobile theme. Check for errors in the console (on Desktop) Ensure drag and drop of sections is working (on Desktop)
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Story Points:
      13
    • Sprint:
      FRONTEND Sprint 5

      Description

      Enable mymobile. On the front page, javascript erro:

      GET http://jerome.moodle.local/m/integration_master/theme/jquery.php/core/jquery-1.10.2.min.map 404 (not found) jerome.moodle.local/m/integration_master/:1
      Uncaught TypeError: Cannot call method 'all' of null

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              phalacee Jason Fowler
              Reporter:
              jerome Jérôme Mouneyrac
              Peer reviewer:
              Andrew Nicols
              Integrator:
              Sam Hemelryk
              Tester:
              Jérôme Mouneyrac
              Participants:
              Component watchers:
              Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Nov/13