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

Drag-drop upload area breaks if you drop a file outside any filemanager

XMLWordPrintable

      In any filemanager, if you miss the drop area and drop a file somewhere else on the page, the filemanager gets stuck with a red border and the message 'drop files here to upload'. This is particularly annoying if you've already uploaded any files because those are hidden.

      The browser also automatically downloads the file (or opens it in browser if it's an image file). This is standard browser behaviour for opening a file from the hard disc if you drag it over the browser window. However, for pages where users are dragging in files for other reasons, we think this is unhelpful, so it would be good to stop it doing that too. (removed following discussion in the comments)

            kransom Katie Ransom
            kransom Katie Ransom
            Tim Hunt Tim Hunt
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 7 minutes
                1d 7m

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