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 on modal dialog work only with double click

SA-405

Summary



An application was migrated from PRPC 6.3 SP1 to Pega 7.1.5. Local actions launched in a modal dialog take two button clicks to submit the dialog with the OK button. After the first click, the modal dialog resizes. The second click submits fine.

This issue occurred when the modal dialog had an editable field present.

Error Messages



Not Applicable

Steps to Reproduce



1. Launch a local action in a modal dialog, which has an editable field.
2. Click OK.

Resolution



Perform the following local-change:

Enable the HTML 5 document type on the application sets pega.u.d.inStandardsMode = true;




When pega.u.d.inStandardsMode is true, pega_ui_modaldialog follows a different code path which avoids the resizing logic which caused this issue.

Published March 17, 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?

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