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

Double click on modal window



The development team built a modal section which contains a Repeat Grid and a button to close the modal.
In the repeat grid one of the controls includes an ONCHANGE call designed to refresh the section.

If the user has focus on the control which is defined with the ONCHANGE call during run-time. Clicking directly on the button to close the modal then this only calls the ReloadSection functionality. The modal remained open.

Error Messages

Not Applicable

Steps to Reproduce

Not Applicable

Root Cause

Defined click action is not called when the button is pressed but when the button is released. Section is being refreshed while button is pressed, which effectively cancells the press.


In order to overcome the refresh interferring with the button click, a new section was built to house the controls in the row of the Repeat Grid.

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