summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/share.js
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-01-23 09:18:26 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-01-23 09:18:26 +0100
commit5fadd530888459a62c7113a916247033fb14c96c (patch)
tree46a9765beb3b8aa5f3d16dcc0c325d4b48a83002 /apps/files_sharing/js/share.js
parent367aadb3b7fcb3c1d3dda0b6cdc463dfce8879a4 (diff)
downloadnextcloud-server-5fadd530888459a62c7113a916247033fb14c96c.tar.gz
nextcloud-server-5fadd530888459a62c7113a916247033fb14c96c.zip
missing renames of publicListView to disableSharing
Diffstat (limited to 'apps/files_sharing/js/share.js')
-rw-r--r--apps/files_sharing/js/share.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index a46d0179801..780b9c1bf6d 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -1,6 +1,6 @@
$(document).ready(function() {
- if (typeof OC.Share !== 'undefined' && typeof FileActions !== 'undefined' && !publicListView) {
+ if (typeof OC.Share !== 'undefined' && typeof FileActions !== 'undefined' && !disableSharing) {
FileActions.register('all', 'Share', OC.PERMISSION_READ, OC.imagePath('core', 'actions/share'), function(filename) {
if ($('#dir').val() == '/') {