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

File picker blank after dismissing notification

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 2.7.4
    • None
    • Filepicker
    • MOODLE_27_STABLE

    Description

      We have a file picker area restricted to images only, and if you pick a non-image file you get a notification.
      After closing the notification, the file picker is blank. To return to file upload you need to restart the file picker or click 'File upload' again.

      Can you refresh the file picker after dismissing the notification so that it's immediately ready to take another file? An 'OK' button with which you would dismiss the notification (instead of closing it with X) could be a good idea to force the refresh.

      Steps to recreate:
      1. Navigate to a file picker restricted to accept only certain file types
      2. Attempt to upload a file type that is not accepted by the file picker
      3. Close the notification with the X
      Result: the window is now blank.

      Expected behaviour: the window would return to its previous state, allowing for another try at file upload.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dlukaszek Dorota Lukaszek
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: