Merge pull request #7698 from owncloud/backport_7631

only enable drag&drop upload if public upload is allowed
remotes/origin/stable6
Vincent Petry 13 years ago
commit bc5145e267
  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