aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/share.js
diff options
context:
space:
mode:
authorTheSFReader <TheSFReader@gmail.com>2013-01-26 23:19:40 +0100
committerTheSFReader <TheSFReader@gmail.com>2013-01-26 23:19:40 +0100
commit9c7a18044d9d53161a157bcdd1d394d6d75f42da (patch)
tree0cedeb0e33e614b672c24c8d9909af6f233c19e5 /apps/files_sharing/js/share.js
parent2aead5727ed99c9b9af3a2ba653a27cf794e1278 (diff)
parentc9e25d3fab17b178759dd6d2f9488aa4cf37fbbb (diff)
downloadnextcloud-server-9c7a18044d9d53161a157bcdd1d394d6d75f42da.tar.gz
nextcloud-server-9c7a18044d9d53161a157bcdd1d394d6d75f42da.zip
Merge remote-tracking branch 'refs/remotes/upstream/master'
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() == '/') {