From: Michael Gapczynski Date: Mon, 7 May 2012 14:21:41 +0000 (-0400) Subject: Only load sharing statuses if in files app X-Git-Tag: v4.0.0beta~1^2~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b9033d3b78ed951321036de28a7db3b7559b158d;p=nextcloud-server.git Only load sharing statuses if in files app --- 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