only enable drag&drop upload if public upload is allowed, backport of #7631

remotes/origin/stable6
Bjoern Schiessle 13 years ago
parent 6a31fecca3
commit 112a277998
  1. 2
      apps/files/js/file-upload.js

@ -170,7 +170,7 @@ OC.Upload = {
$(document).ready(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…
Cancel
Save