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

JS error when managing permissions of an activity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.5.4, 3.6, 3.7
    • Fix Version/s: None
    • Component/s: Roles / Access
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE

      Description

      When trying to manage permissions of an activity, the first time that you clock on any of the allow/delete icons, you get a js error.

      The value of e.currentTarget changes because there is a Y.use in the Event handler.

      To replicate:

      1. Create an activity (a forum for example)
      2. Go to the forum
      3. Click on the cog icon > permissions
      4. Now The first time that you click on any of the delete/allow icons, you get a js error.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rezaie9 Shamim Rezaie
              Reporter:
              rezaie9 Shamim Rezaie
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: