summaryrefslogtreecommitdiffstats
path: root/apps/files/js/jquery.fileupload.js
Commit message (Collapse)AuthorAgeFilesLines
* Add callback to clean up after misbehaved drag and drop eventsDaniel Calviño Sánchez2018-06-081-0/+12
| | | | | | | | | | | | | | | | | | | The jQuery Plugin triggers the "dragover" callback when the browser triggers the "dragover" event and the types in their DataTransfer include a "Files" item. It also triggers the "drop" callback when the browser triggers the "drop" event and the list of files in its DataTransfer is not empty. Unfortunately some browsers may trigger "dragover" events with a DataTransfer that includes a "Files" item and then trigger a "drop" event with an empty list of files. When that happens the actions performed in the "dragXXX" callbacks could be left hanging if they were expected to be finished in the "drop" callback (for example, if the drop zone was highlighted during the drag to be then restored when the file was finally dropped). This commit adds the "dropnofiles" callback to be able to handle those situations. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* properly fix folder upload to use delegatedEventVincent Chan2016-06-141-1/+5
|
* fixes direct upload to folderVincent Chan2016-06-141-5/+1
|
* update jQuery File Upload Plugin (9.12.5) to support dragleaveVincent Chan2016-06-131-84/+228
|
* apps/files: Fix typos in comments (found and fixed by codespell)Stefan Weil2016-03-091-1/+1
| | | | | | This contribution is AGPL and MIT licensed. Signed-off-by: Stefan Weil <sw@weilnetz.de>
* architecture too complexJörn Friedrich Dreyer2013-08-211-278/+745
|
* move files to the correct placeGeorg Ehrke2012-04-261-0/+866