How to close child window when parent window is closed.
In our application, the parent window has a repeating grid and on click of the row a new child window is opened and the its editable. Whenever the user submits/Close the parent window and trying to do update on the child window we are receiving either rule not found or Stale transition error. To handle this we want to close the child window whenever parent window is closed. In order to achieve this i have added a customized button instead of default flow action submit button where it calls SendEvent function which sends the window name and there is script in child window which would listen to the sendevent using Registereventlistener. This is working fine but instead of customize button i wanted to listen the doSubmit event for the default flow action button. Please let me know if we can achieve this.
***Updated by Moderator: Marissa to update categories***