summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Chan <plus.vincchan@gmail.com>2016-06-15 09:45:36 +0200
committerVincent Chan <plus.vincchan@gmail.com>2016-06-15 09:45:36 +0200
commit62144209747760505aa82526cb050aea2a9f8881 (patch)
tree982618d58635741df2e770f83fbb2534293d5fb2
parent203a07e7f35aeef8e22385b0a9fec216387430e4 (diff)
downloadnextcloud-server-62144209747760505aa82526cb050aea2a9f8881.tar.gz
nextcloud-server-62144209747760505aa82526cb050aea2a9f8881.zip
restrict dropZone to app-content div
-rw-r--r--apps/files/js/file-upload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js
index dbf08ac10b9..3d0385f08ad 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -273,7 +273,7 @@ OC.Upload = {
var self = this;
if ( $('#file_upload_start').exists() ) {
var file_upload_param = {
- dropZone: $('#content'), // restrict dropZone to content div
+ dropZone: $('#app-content'), // restrict dropZone to app-content div
pasteZone: null,
autoUpload: false,
sequentialUploads: true,