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

index ea4ea6e19563376ad0eba3a67580896a308963cc..306417230f1b6533e39554d1cc1aa4719745b4d9 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;