summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2012-05-07 10:21:41 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2012-05-07 10:47:55 -0400
commitb9033d3b78ed951321036de28a7db3b7559b158d (patch)
tree6d4f9844350e168a95dfb4ff4c80090a11672638 /apps/files_sharing/js
parentf28d71bb9c1142dd979f5837fb15d914b2d4e4d6 (diff)
downloadnextcloud-server-b9033d3b78ed951321036de28a7db3b7559b158d.tar.gz
nextcloud-server-b9033d3b78ed951321036de28a7db3b7559b158d.zip
Only load sharing statuses if in files app
Diffstat (limited to 'apps/files_sharing/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 3dedde48c27..f00db30e96d 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -210,9 +210,9 @@ OC.Share={
}
$(document).ready(function() {
- OC.Share.loadIcons();
if (typeof FileActions !== 'undefined') {
+ OC.Share.loadIcons();
FileActions.register('all', 'Share', function(filename) {
// Return the correct sharing icon
if (scanFiles.scanning) { return; } // workaround to prevent additional http request block scanning feedback