Support Article
To change default Pega busy indicator image
SA-13622
Summary
How to change Pega default busy indicator image?
Error Messages
Not Applicable.
Steps to Reproduce
Not Applicable.
Root Cause
pxThrobber rule does not allow any customizations.
By default below is the pxThrobber image:
Resolution
- Create a binary file with custom image (let it be "CustomPreloader")
Custom image:
- Save-as the UserWorkForm in the available Application ruleset, add the below snippet in HTML Source.
pega.ui.busyIndicator.prototype.createIndicatorImage = function() {
if(this.oSpan == null)
this.initialize(this._sNode);
var oSpan = this.oSpan;
if (this._message && this._message.length > 0) oSpan.innerHTML = "<img src = 'webwb/CustomPreloader.gif' alt='loading' />" + " " + this._message ;
else oSpan.innerHTML = "<img src = 'webwb/CustomPreloader.gif' alt='loading' />";
}
</script>
3. Run manager portal. user can find the change of pxThrobber content with new custom image.
Published September 1, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.