Question

Virtusa
IN
Last activity: 7 Sep 2020 0:48 EDT
Display warning message when user clicks outside the perform harness
I have a requirement where I need to display a pop-up message on screen whenever user click outside the perform harness. For Eg: I am working on an assignment of my case type then suddenly I click on any menu item in left side navigation panel( Dashboard, Reports etc) then immediately i should be prompted with a message to save my work before leaving. I already tried "onbeforeunload" function in js and plugged the respective js in perform harness but it only fires the pop-up on [Cancel] [Refresh] events but not on switching away from perform harness. Any suggestion would be appreciated.
***Edited by Moderator Marissa to update General to Product***