diff options
author | IchEben <andreas@reichster.de> | 2014-03-07 17:45:24 +0100 |
---|---|---|
committer | IchEben <andreas@reichster.de> | 2014-03-07 17:45:24 +0100 |
commit | e7d571511408f44c6caffe31e13289d245590954 (patch) | |
tree | 3df513de28dea718723e7dfc4ef54ab9b918bed8 /apps | |
parent | 3eb58d9973706b1cc3f51f024e362779d278ee49 (diff) | |
download | nextcloud-server-e7d571511408f44c6caffe31e13289d245590954.tar.gz nextcloud-server-e7d571511408f44c6caffe31e13289d245590954.zip |
only initialise upload dropZone if public upload is allowed
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/file-upload.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index b7b8f6fdeb6..ea4061c9b0b 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -180,7 +180,7 @@ OC.Upload = { }, init: function() { - if ( $('#file_upload_start').exists() ) { + if ( $('#file_upload_start').exists() && $('#file_upload_start').is(':visible')) { var file_upload_param = { dropZone: $('#content'), // restrict dropZone to content div |