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

Close Dialog issue in Chrome



FS6.8 BA in Chrome(v18) , confirm dialog opened from MDI window is not getting closed on click of "ok" button. However, it gets closed in IE

Error Messages


Steps to Reproduce

Login to the application using BA with Chrome browser

Root Cause

Custom code (say cashdrawer.js or *.jsp file),  are not invoking cafescript.js file (used for Browser Agnostic code). In OOTB, this is done in cafecommon.js file and this file is used in any OOTB jsp file.


  1. Add below code in this file at the start of the page in cashdrawer.js.
        var cafescript = cafescript || top.advisorDesktop.cafescript;
  1. Invoke closeDialog function in the close function of cashdrawer.js by passing the window object.

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