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

invalid minified js generated for navigation.js

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.5
    • None
    • JavaScript, Navigation
    • None
    • MOODLE_25_STABLE

    Description

      invalid minified js generated for navigation.js This stops, among other things, the activation of the "Add an activity or resource" js popup links. The JS is correct for the un minified version.

      this.branches[branch.get('id')] = branch;
      is converted to
      this.branches[s.get("id")]=s
      durning minification
      by changing the code to
      this.branches[this.get('id')] = branch;
      it is converted to
      this.branches[this.get("id")]=s

      https://github.com/eriko/moodle/commit/ecf5dbbf53de14ad7008e2f7385beba3746fbdee

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              ordwaye Erik Ordway
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: