Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29121 Various problems with the manual enrolment UI (js)
  3. MDL-37350

Opening and closing the 'Add role' popup multiple times causes a role to be displayed multiple times on the final when finally selecting a role

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Open the Enrol Users page
      • Click the '+' in the roles cell to open the "Add role" popup
      • Close the dialogue
        • Repeat this a few times
      • Open the Add role popup again
      • Select a role
        • Confirm that the role is only displayed once
      • Refresh the page
        • Confirm that the new role is displayed correctly
      Show
      Open the Enrol Users page Click the '+' in the roles cell to open the "Add role" popup Close the dialogue Repeat this a few times Open the Add role popup again Select a role Confirm that the role is only displayed once Refresh the page Confirm that the new role is displayed correctly
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:

      Description

      There is an on('submit') event which doesn't get detached correctly if the 'Add role' popup is closed without selecting a role.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Mar/13