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

Clicking in an AJAX title/name change text box sometimes results in a popup being displayed.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Course, JavaScript
    • Labels:
    • Testing Instructions:
      Hide

      Note This does not allow you to change the text of a label - these contain HTML so I'd say they're beyond scope

      With a course in editing mode

      • Ensure that the icon placeholder is added. It should appear to the left of the 'Move Left' or 'Move Right' icon.
      • Click on the icon - an editor form should replace the link asking for the new title and showing instructions
      • Type in a new title
      • Press Escape
      • Confirm that
        • the editor has been replaced with the link
        • the title has not changed
      • Click on the icon again
      • Type in a new title
      • Click elsewhere on the pgae
      • Confirm that
        • the editor has been replaced with the link
        • the title has not changed
      • Click on the icon again
      • Type in a new title
      • Press return
      • Confirm that
        • the editor has been replaced with the link
        • the title has been updated
      • Create a new URL resource which pops-up in a new window
      • Click on it's edit icon
      • Click within the text-box area
        • Confirm that the popup isn't opened
      • Save the title
        • Confirm that clicking the title now opens the URL in a popup
      Show
      Note This does not allow you to change the text of a label - these contain HTML so I'd say they're beyond scope With a course in editing mode Ensure that the icon placeholder is added. It should appear to the left of the 'Move Left' or 'Move Right' icon. Click on the icon - an editor form should replace the link asking for the new title and showing instructions Type in a new title Press Escape Confirm that the editor has been replaced with the link the title has not changed Click on the icon again Type in a new title Click elsewhere on the pgae Confirm that the editor has been replaced with the link the title has not changed Click on the icon again Type in a new title Press return Confirm that the editor has been replaced with the link the title has been updated Create a new URL resource which pops-up in a new window Click on it's edit icon Click within the text-box area Confirm that the popup isn't opened Save the title Confirm that clicking the title now opens the URL in a popup
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-33025-master-1

      Description

      If you have a resourse which is set to pop-up when clicked, and you use the AJAX title/name change ability, if you click on the text box to change the name / title, it will fire off the pop-up box.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    25/Jun/12