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

Leaving pega iframe in IE11 causes buttons to be inactive

SA-2321

Summary



User has an IAC implementation of their Pega application with a custom code to handle clearing of pega cookies when the end user clicks away from IAC loaded harness. When users click away, they observed a pop up giving an option of "Leave this page" or "Stay on this page". And when users choose to stay on the page, the action buttons are disabled and there was no network call done upon clicking them. User expects the IAC loaded harness to remain fully functional upon staying on the page.

Error Messages



no errors displayed


Steps to Reproduce



1. On any of the Change Fund pages, if we choose to navigate back to FNC, there will be a pop-up asking the user to either ‘Leave this page’ or ‘Stay on this page’.
2. If we select ‘Stay on this page’, the action buttons are all disabled.


Root Cause



The root cause of this problem is defect/misconfiguration in the PRPC operating environment.

The gadget HTML page had an onbeforeunload listener in place to clear PRPC sessions. this would call a JavaScript function. If the function returned any value, that value is printed on the pop-up encountered by Users. This is default IE behaviour.

To resolve this, and prevent popup, simply return nothing in the logoff function called by onbeforeunload listener.


Resolution



This issue is resolved through the following local change:

In the Javascript function called by onBeforeUnload listener, changed "return true;" to "return;". With no value returned, pop-up is eliminated.
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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