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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.