Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-05-27 14:00:45 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2019-05-27 15:22:58 +0300
commit8b775e6895a653a6aa824ef44fa67a865f3c73f7 (patch)
treed0c8e92cf2eed701f355217adfc97efddb1c60ac /apps
parent73e4594e08a2c3be4a406037e7e3946e28d97496 (diff)
Also allow dragging below the file list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/filelist.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index ea4ea6e1956..306417230f1 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -3352,6 +3352,7 @@
&& !self.$el.is(dropTarget) // dropped on list directly
&& !self.$el.has(dropTarget).length // dropped inside list
&& !dropTarget.is(self.$container) // dropped on main container
+ && !self.$el.parent().is(dropTarget) // drop on the parent container (#app-content) since the main container might not have the full height
) {
e.preventDefault();
return false;