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

Popup or modal dialog does not open in IE when called by scripts

SA-76596

Summary



Popup or modal dialog does not open in the Internet Explorer browser when invoked through Scripts

pega.u.d.processAction('FlowActionName', '', '','','',true,event,'ModalTemplate');

The same functionality works in other browsers such as Chrome and Firefox.


Error Messages



Not Applicable


Steps to Reproduce

  1. Add a button to a layout and add a Run script to the action set.
  2. Create a JavaScript function to invoke the pega.u.d.processAction flow action.
  3. Mention the button action in the Run script.
  4. Launch the application in the Internet Explorer browser. Popup does not display.


Root Cause



An issue in the custom application code or rules.

The issue occurs because the event was not set in the Internet Explorer browser. The event object should be passed along with the Run script and the same could be used in the function which was invoked in Run script action.


Resolution



Perform the following local-change: 
  1. Add an event parameter in the Run script action as script:event onClick of the button where the Run script is called.
  2. Add an extra event parameter to the calling function.
  3. Pass the same event to the processAction API (as earlier).


 

Published April 3, 2019 - Updated December 2, 2021

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