server/apps/files
Daniel Calviño Sánchez bb64b6f87c Add callback to clean up after misbehaved drag and drop events
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>
2018-06-08 19:15:27 +02:00
..
ajax Move calls to \OCP\JSON to private \OC_JSON 2018-03-22 13:19:29 +01:00
appinfo Remove unused download.php 2018-03-19 11:45:48 +01:00
composer Move storagestats endpoint to proper controller 2018-03-13 12:44:48 +01:00
css Move quota icon to core 2018-05-03 10:32:16 +02:00
img Move quota icon to core 2018-05-03 10:32:16 +02:00
js Add callback to clean up after misbehaved drag and drop events 2018-06-08 19:15:27 +02:00
l10n [tx-robot] updated from transifex 2018-06-08 00:12:51 +00:00
lib Move files settings to main server settings 2018-05-03 08:58:23 +02:00
templates Move quota icon to core 2018-05-03 10:32:16 +02:00
tests Merge pull request #9029 from nextcloud/settings-restructure 2018-05-07 12:29:53 +02:00
list.php Remove upload_limit in files app as it is not needed with PUT upload (#26069) 2016-11-02 20:43:35 +01:00
recentlist.php Change @georgehrke's email 2017-11-06 20:38:59 +01:00
simplelist.php Fix apps/ 2016-07-21 18:13:57 +02:00