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

filemanager dialogues automatically process the first button when 'Enter' is pressed

    XMLWordPrintable

    Details

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

      don't forget to purge cache before testing!

      1. Open Private files, create folder and add files to it
      2. Click on file, change it's name and hit Enter
      3. Make sure file name is changed and file did not start downloading
      4. Right-click on folder, change name and hit Enter
      5. Make sure folder is renamed

      Show
      don't forget to purge cache before testing! 1. Open Private files, create folder and add files to it 2. Click on file, change it's name and hit Enter 3. Make sure file name is changed and file did not start downloading 4. Right-click on folder, change name and hit Enter 5. Make sure folder is renamed
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE

      Description

      as a result of MDL-33130 (when <a>s were replaced with <button>s), the filemanager/filepicker dialogues react to the key 'Enter'

      This is all right in the most cases. But in cases when user tries to rename file or folder in filemanager, the first button is autopressed, which is 'Download' or 'Delete'

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marina Marina Glancy
              Reporter:
              marina Marina Glancy
              Integrator:
              Sam Hemelryk
              Tester:
              Frédéric Massart
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/12