]> source.dussan.org Git - nextcloud-server.git/commitdiff
Also allow dragging below the file list 15747/head
authorJulius Härtl <jus@bitgrid.net>
Mon, 27 May 2019 11:00:45 +0000 (13:00 +0200)
committerJulius Härtl <jus@bitgrid.net>
Mon, 27 May 2019 11:00:45 +0000 (13:00 +0200)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/files/js/filelist.js

index d546186aff9f116d42f55b8ff122085766e52435..6163f34864b5f3e6db55ba2ec01fcff4b0409f5c 100644 (file)
                                        && !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;