$(function() {
WCF.Language.addObject({
'wcf.global.button.next': '{lang}wcf.global.button.next{/lang}',
+ 'wcf.global.button.edit': '{lang}wcf.global.button.edit{/lang}',
'wcf.global.error.title': '{lang}wcf.global.error.title{/lang}',
'wcf.global.loading': '{lang}wcf.global.loading{/lang}',
'wcf.date.relative.minutes': '{capture assign=relativeMinutes}{lang}wcf.date.relative.minutes{/lang}{/capture}{@$relativeMinutes|encodeJS}',
});
WCF.Icon.addObject({
- 'wcf.icon.loading': '{icon size='S'}spinner{/icon}',
+ 'wcf.icon.loading': '{icon size='S'}spinner1{/icon}',
'wcf.icon.opened': '{icon size='S'}opened2{/icon}',
'wcf.icon.closed': '{icon size='S'}closed2{/icon}',
'wcf.icon.previous': '{icon size='S'}previous1{/icon}',
'wcf.global.confirmation.confirm': '{lang}wcf.global.confirmation.confirm{/lang}',
'wcf.global.confirmation.title': '{lang}wcf.global.confirmation.title{/lang}'
});
+ WCF.Icon.addObject({
+ 'wcf.icon.loading': '{icon size='S'}spinner1{/icon}'
+ });
new WCF.Date.Time();
new WCF.Effect.SmoothScroll();
new WCF.Effect.BalloonTooltip();
_showLoadingOverlay: function() {
// create loading overlay on first run
if (this._loadingOverlay === null) {
- this._loadingOverlay = $('<div id="actionProxyLoading" class="actionProxyLoading"><img src="' + WCF.Icon.get('wcf.global.loading') + '" alt="" />' + WCF.Language.get('wcf.global.loading') + '</div>').hide().appendTo($('body'));
+ this._loadingOverlay = $('<div id="actionProxyLoading" class="actionProxyLoading"><img src="' + WCF.Icon.get('wcf.icon.loading') + '" alt="" />' + WCF.Language.get('wcf.global.loading') + '</div>').hide().appendTo($('body'));
}
// fade in overlay