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

Parent window becomes unresponsive on closing the child window



On closing the child window, the parent window becomes unresponsive.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create a repeating grid and call a local action from it.
  2. In the new pop up, create a button which calls another pop up from it.
  3. In the third pop up, create a button which calls back the pop up created in Step 2.
  4. In this pop up, click any button. Actions are not triggered.

Root Cause

Pega.u.d.activeGrid is available when actions are performed on the grid. This behavior has not changed since PRPC 6.3.
Pega.u.d.activeGrid is undefined after closing the first modal dialog that was launched from the grid. For this use case, the pega.u.d.activeGrid (temporary grid object) was not maintained, and after the modal dialog was closed it was not reset using the temporary grid object.


Perform the following local-change:
  1. Define the following script block in the UserWorkForm.

       display:block !important;

      function setActiveGrid(){
        pega.u.d.tmpActiveGrid =  pega.u.d.activeGrid;
      function getActiveGrid(){
        pega.u.d.activeGrid = pega.u.d.tmpActiveGrid;
        delete pega.u.d.tmpActiveGrid;

  2. Invoke the function in the script from the buttons configured in the  popup.

Published August 15, 2019 - 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