update loading icon

This commit is contained in:
rolux 2013-07-29 10:30:37 +00:00
parent f01b86864b
commit 4abbe25996

View file

@ -4,7 +4,7 @@ pandora.ui.loadingIcon = function() {
var self = {}, var self = {},
that = Ox.LoadingIcon({ that = Ox.LoadingIcon({
tooltip: Ox._('Reload Application') tooltip: Ox._('Reload {0}', [pandora.site.site.name])
}, self) }, self)
.attr({ .attr({
src: Ox.UI.getImageURL('symbolRedo') src: Ox.UI.getImageURL('symbolRedo')
@ -32,12 +32,10 @@ pandora.ui.loadingIcon = function() {
that.stop = function() { that.stop = function() {
if (self.loadingInterval) { if (self.loadingInterval) {
that.superStop(function() { that.superStop(function() {
if (!self.loadingInterval) { that.css(getCSS('stop'))
that.css(getCSS('stop')) .attr({
.attr({ src: Ox.UI.getImageURL('symbolRedo')
src: Ox.UI.getImageURL('symbolRedo') });
});
}
}); });
} }
}; };