This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

I have one "OK" button for closing the window, where I have used window.close(), and its working fine. Apart from this I want the window to be closed when the user clicks logout tab without closing window.
How do I do this?
Thanks in advance.