nextcloud/apps
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
..
admin_audit log to $datadir/audit.log by default and add rotation 2018-04-26 12:10:53 +02:00
comments [tx-robot] updated from transifex 2018-06-06 00:12:36 +00:00
dav [tx-robot] updated from transifex 2018-06-08 00:12:51 +00:00
encryption [tx-robot] updated from transifex 2018-06-06 00:12:36 +00:00
federatedfilesharing [tx-robot] updated from transifex 2018-06-08 00:12:51 +00:00
federation [tx-robot] updated from transifex 2018-06-08 00:12:51 +00:00
files Add callback to clean up after misbehaved drag and drop events 2018-06-08 19:15:27 +02:00
files_external Merge pull request #9786 from nextcloud/feature/noid/external_sftp_password_and_key 2018-06-08 09:23:47 +02:00
files_sharing [tx-robot] updated from transifex 2018-06-06 00:12:36 +00:00
files_trashbin Merge pull request #9550 from nextcloud/bugfix/noid/override_freebusy_sharing_rules 2018-06-01 12:00:56 +02:00
files_versions Merge pull request #9550 from nextcloud/bugfix/noid/override_freebusy_sharing_rules 2018-06-01 12:00:56 +02:00
lookup_server_connector Fix info.xml files of shipped apps 2018-02-16 10:24:03 +01:00
oauth2 [tx-robot] updated from transifex 2018-06-01 00:12:28 +00:00
provisioning_api Allow 0 quota by provisioning api 2018-06-07 11:30:37 +02:00
sharebymail [tx-robot] updated from transifex 2018-06-01 00:12:28 +00:00
systemtags [tx-robot] updated from transifex 2018-06-04 00:12:26 +00:00
testing Fix info.xml files of shipped apps 2018-02-16 10:24:03 +01:00
theming Mock the timefactory in the theming tests 2018-06-07 11:42:21 +02:00
twofactor_backupcodes [tx-robot] updated from transifex 2018-05-30 00:12:08 +00:00
updatenotification [tx-robot] updated from transifex 2018-06-08 00:12:51 +00:00
user_ldap [tx-robot] updated from transifex 2018-06-03 00:12:47 +00:00
workflowengine [tx-robot] updated from transifex 2018-06-06 00:12:36 +00:00