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:
commit
92df8deb0a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue