From 4abbe25996476d684fabcb9cbd2376f694db84b9 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 29 Jul 2013 10:30:37 +0000 Subject: [PATCH] update loading icon --- static/js/loadingIcon.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/static/js/loadingIcon.js b/static/js/loadingIcon.js index 59ec04e4..bac60a3f 100644 --- a/static/js/loadingIcon.js +++ b/static/js/loadingIcon.js @@ -4,7 +4,7 @@ pandora.ui.loadingIcon = function() { var self = {}, that = Ox.LoadingIcon({ - tooltip: Ox._('Reload Application') + tooltip: Ox._('Reload {0}', [pandora.site.site.name]) }, self) .attr({ src: Ox.UI.getImageURL('symbolRedo') @@ -32,12 +32,10 @@ pandora.ui.loadingIcon = function() { that.stop = function() { if (self.loadingInterval) { that.superStop(function() { - if (!self.loadingInterval) { - that.css(getCSS('stop')) - .attr({ - src: Ox.UI.getImageURL('symbolRedo') - }); - } + that.css(getCSS('stop')) + .attr({ + src: Ox.UI.getImageURL('symbolRedo') + }); }); } };