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

Javascript error when creating/editing an external tool

    XMLWordPrintable

Details

    • MOODLE_28_STABLE
    • MOODLE_28_STABLE
    • Hide

      1. Click 'add an activity or resource' from a course homepage
      2. Choose ‘external tool’ and click add
      3. Click 'show more' to see the editor for the activity description
      4. Attempt to insert an Image using the editor
      normal functionality.

      Expected: You should be able to browse repositories.
      Actual: Clicking 'Browse repositories' does nothing.

      Show
      1. Click 'add an activity or resource' from a course homepage 2. Choose ‘external tool’ and click add 3. Click 'show more' to see the editor for the activity description 4. Attempt to insert an Image using the editor normal functionality. Expected: You should be able to browse repositories. Actual: Clicking 'Browse repositories' does nothing.

    Description

      Looks like a regression caused by MDL-44902. A Y.one call added in the mod_form.js refers to #modstandardgrade instead of #id_modstandardgrade.

      JS error causes filepicker and other JS elements to not work.

      Attachments

        Issue Links

          Activity

            People

              aolley Adam Olley
              aolley Adam Olley
              David Monllaó David Monllaó
              Dan Poltawski Dan Poltawski
              Adrian Greeve Adrian Greeve
              Jake Dallimore, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Nov/14