function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sowjanya Hegde 13Sowjanya Hegde 13 

Autoclose the omnichannel chat tab

How to autoclose the chat tab on the chat transcript object when the customer on the other side click on close window 'X' instead of 'end  chat'. Please help!
Sowjanya Hegde 13Sowjanya Hegde 13
https://www.infallibletechie.com/2020/07/how-to-close-chat-tab-when-conversation.html
As per the above document, it works when there is only one chat tab. when there are multiple chat tabs, if I try to close the chat which is not currently focused, I get the confirmation popup. if i click "End Conversion" once, confirmation screen will appear multiple times, when i start clicking  multiple times then all the chat tabs will close. Please help!