diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-08-31 01:05:36 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-08-31 01:11:10 +0200 |
commit | 3ba27e624f2c36044a982bc0cd69f07106e61e96 (patch) | |
tree | 9c67296dd3f101e568fbee006f1ff4da588ebf41 /apps/files_sharing/js/share.js | |
parent | 61a3e5f96b5019f89587e8cead63988f274d140e (diff) | |
download | nextcloud-server-3ba27e624f2c36044a982bc0cd69f07106e61e96.tar.gz nextcloud-server-3ba27e624f2c36044a982bc0cd69f07106e61e96.zip |
unify permissions (2/3): change apps to use OC::PERMISSION_X
Diffstat (limited to 'apps/files_sharing/js/share.js')
-rw-r--r-- | apps/files_sharing/js/share.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js index 79ab4adebac..a171751589a 100644 --- a/apps/files_sharing/js/share.js +++ b/apps/files_sharing/js/share.js @@ -2,7 +2,7 @@ $(document).ready(function() { if (typeof OC.Share !== 'undefined' && typeof FileActions !== 'undefined') { OC.Share.loadIcons('file'); - FileActions.register('all', 'Share', FileActions.PERMISSION_READ, function(filename) { + FileActions.register('all', 'Share', OC.PERMISSION_READ, function(filename) { // Return the correct sharing icon if (scanFiles.scanning) { return; } // workaround to prevent additional http request block scanning feedback if ($('#dir').val() == '/') { |