Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us