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

Buttons are not working in Firefox and Chrome browser

SA-17191

Summary



There are few buttons in user's application, which do not work in Chrome and Firefox browsers.  But the same works fine in IE for PRPC 6.3 SP1 .
The buttons are configured using out of the box rule pxButton, which calls a javascript function and this function inturn calls an activity.


Error Messages



No error message.


Steps to Reproduce



1) Create a button control using pxButton.
2) Configure RunScript event and call a javascript method.


Root Cause



A software use or operation error: User javascript method has statement. That is:  
httpRequestAsynch(safeUrl.toURL(), null, 50, 100);
The above method is compatible only with IE browser as it is using Microsoft.XMLHTTP to build the ajax call.

 

Resolution



Perform the following local-change:
    
Instead of the "httpRequestAsynch" statement use "pega.util.Connect.asyncRequest('GET', safeUrl.toURL(), null);" statement to work in cross browsers.

The issue will exist only in PRPC 6 versions. From Pega 7, "httpRequestAsynch" method is optimized work in cross browsers.

 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% 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