diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-05-27 14:21:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-27 14:21:48 +0200 |
commit | bffb34afbd774c8837234e49fa9154a67e2df6d2 (patch) | |
tree | 3bc807d328eaa4c3fad466c5316850de15c8759f | |
parent | 8b6d8ed4231e0bedf25ee5d088b128e746584d08 (diff) | |
parent | d48787e661ecbabcf144adabb35e6186e43f7503 (diff) | |
download | nextcloud-server-bffb34afbd774c8837234e49fa9154a67e2df6d2.tar.gz nextcloud-server-bffb34afbd774c8837234e49fa9154a67e2df6d2.zip |
Merge pull request #15747 from nextcloud/bugfix/noid/drag-file-fix
Also allow dragging below the file list
-rw-r--r-- | apps/files/js/filelist.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index d546186aff9..6163f34864b 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -3350,6 +3350,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; |