Merge pull request #7631 from ichEben/master

[6.0.2RC1] Share folder as link -- no public upload, drag&drop still works #7422
This commit is contained in:
Vincent Petry 2014-03-10 10:04:54 +01:00
commit 92df8deb0a
1 changed files with 1 additions and 1 deletions

View File

@ -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