From b9033d3b78ed951321036de28a7db3b7559b158d Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Mon, 7 May 2012 10:21:41 -0400 Subject: [PATCH] Only load sharing statuses if in files app --- apps/files_sharing/js/share.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js index 3dedde48c2..f00db30e96 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