Author Topic: Loss of focus when chatting with multiple visitors - VERY ANNOYING  (Read 9552 times)

0 Members and 1 Guest are viewing this topic.

Sheldmandu

  • Sr. Member
  • ****
  • Posts: 34
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.

Sheldmandu

  • Sr. Member
  • ****
  • Posts: 34
Re: Loss of focus when chatting with multiple visitors - VERY ANNOYING
« Reply #1 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.