Close popover
Manish Vashishtha (ManishV4)
Tata Consultancy Services

Tata Consultancy Services
ManishV4 Member since 2015 2 posts
Tata Consultancy Services
Posted: October 6, 2015
Last activity: October 6, 2015

Confirmation Popup on non-work object harness tab close

We have a normal harness being launched in the portal which is not a work object. We're using a dynamic container. We have a requirement that once we click the close icon on the tab of this harness a confirmation popup should come. We did the customization and in the script added a window.onbeforeunload event to fire an IE confirmation popup. On click of the close icon the event is getting fired and the IE Confirm box with "Leave this Page" and "Stay on this Page" buttons is coming but the parameter from the confirm box is not getting passed to the harness i.e. both on the click of "Leave this Page" and "Stay on this Page" it is closing the tab. Can someone help to point out what we're missing here.

Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.