forked from 0x2620/pandora
update loading icon
This commit is contained in:
parent
f01b86864b
commit
4abbe25996
1 changed files with 5 additions and 7 deletions
|
@ -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')
|
});
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue