• Shahid2889
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

I am working on Service console. When we try to close a service console tab by click of x button near tab name, I want to display a warning message (maybe using JavaScript?). But I can't figure out a way t do that as the onbeforeunload event of JavaScript works on closing browser tab not  on service console tabs.

 

Any help will be appreciated.

 

Thanks.

I am working on Service console. When we try to close a service console tab by click of x button near tab name, I want to display a warning message (maybe using JavaScript?). But I can't figure out a way t do that as the onbeforeunload event of JavaScript works on closing browser tab not  on service console tabs.

 

Any help will be appreciated.

 

Thanks.