server/apps/files
Daniel Calviño Sánchez d8251344c1 Use "dropnofiles" callback to disable the drop state in the UI
When a file is dragged from the desktop to the file list the file list
is highlighted, and when the file is finally dropped or the drag
operation is cancelled the highlighting is removed. In some cases, due
to a wrong implementation, a browser may end a file drag with a drop
with no files (for example, when a folder or text is dragged), which
would cause the highlight to not be removed. Now those cases are handled
with the "dropnofiles" callback, which restores the UI and also shows a
message to the user.

The error message is just a generic one, as in some cases it is not even
possible to know whether the problem came from a text drag or a folder
drag, and whether the problem appears or not depends on the browser,
version and even operating system.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-08 19:15:28 +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 Use "dropnofiles" callback to disable the drop state in the UI 2018-06-08 19:15:28 +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