diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-09-14 00:43:11 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-09-16 07:23:28 +0200 |
commit | 6d832359b6f00bed5b2444b8d3cd0680a459619e (patch) | |
tree | 3b8707dfb1ce6270b8b9e188a1dd0ca3e1a8d286 /core/js/shareconfigmodel.js | |
parent | 9fe6d7c568221a77686de80634870e4a40e6ac29 (diff) | |
download | nextcloud-server-6d832359b6f00bed5b2444b8d3cd0680a459619e.tar.gz nextcloud-server-6d832359b6f00bed5b2444b8d3cd0680a459619e.zip |
fix allow upload checkbox appeareance
Diffstat (limited to 'core/js/shareconfigmodel.js')
-rw-r--r-- | core/js/shareconfigmodel.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/shareconfigmodel.js b/core/js/shareconfigmodel.js index c6891154c98..16f7e2514d8 100644 --- a/core/js/shareconfigmodel.js +++ b/core/js/shareconfigmodel.js @@ -37,7 +37,7 @@ */ isPublicUploadEnabled: function() { var publicUploadEnabled = $('#filestable').data('allow-public-upload'); - return !_.isUndefined(publicUploadEnabled); + return publicUploadEnabled === 'yes'; }, /** |