Support Article
Double click on modal window
SA-16310
Summary
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.
Resolution
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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.