Mibew Messenger Community

General => Support => Topic started by: Sheldmandu on May 24, 2009, 03:56:39 AM

Title: Loss of focus when chatting with multiple visitors - VERY ANNOYING
Post by: Sheldmandu on May 24, 2009, 03:56:39 AM
Hi, just found a very annoying issue when chatting with multiple visitors.  When you're replying to one visitor and you're in the middle of typing an answer and another visitor sends you a message the focus moves away from the textbox in which you're typing and you need to click back into it to continue typing your message.  This is extremely annoying and makes it practically impossible to hold up a conversation with multiple visitors.  Please resolve this as soon as possible.
Title: Re: Loss of focus when chatting with multiple visitors - VERY ANNOYING
Post by: Sheldmandu on May 25, 2009, 12:40:19 AM
Alright, rather than waiting for a fix I did it myself...

All you need to do is add an extra condition to check if it's the client (or not in which case it's the agent) to the following...

if(!this.wt){window.focus();}

So it becomes:

if((!this.wt) && (window.location.href.indexOf('client') >= 0)){window.focus();}

Now the agents need to rely on sound only and check chat windows, but can actually work efficiently.  Better than loosing focus in the middle of typing.  I'll also post this into Tips & Tricks.