]> source.dussan.org Git - nextcloud-server.git/commitdiff
Only load sharing statuses if in files app
authorMichael Gapczynski <GapczynskiM@gmail.com>
Mon, 7 May 2012 14:21:41 +0000 (10:21 -0400)
committerMichael Gapczynski <GapczynskiM@gmail.com>
Mon, 7 May 2012 14:47:55 +0000 (10:47 -0400)
apps/files_sharing/js/share.js

index 3dedde48c2707c5c0dd607bba5031861b77eab9c..f00db30e96d61e39cd325f3f48129ab09fa8d225 100644 (file)
@@ -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