Support Article
Busy indicator does not appear
SA-23271
Summary
There are buttons on User Interface (UI) and every button loads data page. The busy indicator does not appear while loading the data page when the data page has huge volume of data and buttons are clicked. This leads to a possiblity of multiple clicks, which is incorrect.
Error Messages
Not Applicable
Steps to Reproduce
1. Configure buttons to refresh section with preActivity.
2. Click buttons.
Root Cause
The time taken to process Refresh section and server call was negligible. Hence, the busy indicator did not appear. However, the delay allows clicking another button.
Resolution
Perform the following local-change:
Include the script below in OnClick of button.
function ChangeCursor(event){
$("body").css("cursor", "wait");
document.getElementById("HARNESS_CONTENT").style.pointerEvents = 'none';
}
function ChangeCursorDefault(event){
$("body").css("cursor", "default");
document.getElementById("HARNESS_CONTENT").style.pointerEvents = 'auto';
}
Published May 16, 2016 - 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.