diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-27 20:36:34 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-27 20:39:31 -0400 |
commit | 9cd55508c3181ff59080f84a341bd5ecf3e88eab (patch) | |
tree | 35c3874e37d2026244318895151bfc997f6c9636 /apps | |
parent | 2aac6f02a0dd3da73db09e1b23aa14cb84d4d88e (diff) | |
download | nextcloud-server-9cd55508c3181ff59080f84a341bd5ecf3e88eab.tar.gz nextcloud-server-9cd55508c3181ff59080f84a341bd5ecf3e88eab.zip |
Add Share API settings to admin page
Diffstat (limited to 'apps')
-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 8754b16b061..79ab4adebac 100644 --- a/apps/files_sharing/js/share.js +++ b/apps/files_sharing/js/share.js @@ -1,6 +1,6 @@ $(document).ready(function() { - if (typeof FileActions !== 'undefined') { + if (typeof OC.Share !== 'undefined' && typeof FileActions !== 'undefined') { OC.Share.loadIcons('file'); FileActions.register('all', 'Share', FileActions.PERMISSION_READ, function(filename) { // Return the correct sharing icon |