]> source.dussan.org Git - nextcloud-server.git/commitdiff
Also allow dragging below the file list 15755/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:24:05 +0000 (12:24 +0000)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/files/js/filelist.js

index cfb31869a346838bcf70aefbefb5d19be484aeba..9ce208abc3ab08b11fe8f9384afeb68b8f37a746 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;