mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Merge pull request #7698 from owncloud/backport_7631
only enable drag&drop upload if public upload is allowed
This commit is contained in:
commit
bc5145e267
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue