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

Switching "JavaScript Cache" on crashes first.js

    XMLWordPrintable

    Details

      Description

      If you switch "cachejs" on often pulldownmenus are not working. This way for example a normal trainer cannot switch editmode on. We use Moove as Design, but the problem also appears with the standard Designs. We testet Safari, Firefox and Chrome. In Chrome the console logs this:

      first.js:52 Uncaught TypeError: a is not a function
      at first.js:52
      at Object.execCb (require.min.js:5)
      at b.check (require.min.js:5)
      at b.<anonymous> (require.min.js:5)
      at require.min.js:5
      at require.min.js:5
      at each (require.min.js:5)
      at b.emit (require.min.js:5)
      at b.check (require.min.js:5)
      at b.enable (require.min.js:5)

      If you switch cachejs off, everything works fine.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              thorstenbutsch Thorsten Butsch
              Peer reviewer:
              Eloy Lafuente (stronk7)
              Integrator:
              Jake Dallimore
              Tester:
              Gladys Basiana
              Participants:
              Component watchers:
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              14 Vote for this issue
              Watchers:
              18 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jan/20

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 45 minutes
                  5h 45m