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

invalid minified js generated for navigation.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: JavaScript, Navigation
    • Labels:
      None
    • Affected Branches:
      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

              • Assignee:
                dobedobedoh Andrew Nicols
                Reporter:
                ordwaye Erik Ordway
                Participants:
                Component watchers:
                Andrew Nicols, Michael Hawkins, Bas Brands, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: