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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.3.2
    • 2.3
    • Filepicker
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • 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

    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

              marina Marina Glancy
              marina Marina Glancy
              Sam Hemelryk Sam Hemelryk
              Frédéric Massart Frédéric Massart
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.