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

All pop up windows (child windows) are open after log out

SA-65581

Summary



All the popup windows are open after  user logs out of the application.


Error Messages



Not applicable


Steps to Reproduce

  1. Open a work object.
  2. Click the 'Add or Edit attachment' option.
  3. Click Log Off on the main window.


Root Cause



A defect in Pegasystems’ code or rules.


Resolution



Perform the following local-change:
  1. Add the Run Script before Log off action for the Log off menu item click to modify the pyCaseManager navigation rule.
  2. In the Run script provide 'closeWindows'.
  3. Add the below script to UserWorkForm HTML rule.

    <script>
    function closeWindows()

    var curWin= null;  while (null != (curWin= application.openedWindows.pop()))

    try{  curWin.close();  }catch(e){}  }  } 
    pega.u.d.attachOnUnload(closeWindows); 
    </script>

For more information, refer to: https://community.pega.com/support/support-articles/pop-ups-remain-open-after-logoff


 

Published October 12, 2018 - 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