Closed (fixed)
Project:
Chat Box
Version:
4.7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2003 at 11:39 UTC
Updated:
14 Sep 2006 at 01:04 UTC
Jump to comment: Most recent file
Comments
Comment #1
(not verified) commentedThis is a problem at least in some versions of IE.
The problem is that when the main content (frame) does a refresh, IE will give that frame focus.
I have a patch that returns focus to the input box, but I do not use it, as it leads to the chatbox always having focus, so you need to close the chatbox every time you want to surf on other pages (in other windows).
Comment #2
jash4 commentedHere's a fix to this problem. Whenever a post is submitted, the text frame is refreshed. That in turn refreshes the nicklist frame. To fix the problem I added the following js to the bottom of the nicklist frame:
parent.input.document.forms.chatform.words.focus();
which returns focus to the input frame's "words" field.
This patch works for me. I tested it in Konqueror 3.3.2, Firefox 1.0.3, and IE6 sp1.
Comment #3
TDobes commentedFix committed to 4.5, 4.6, and CVS HEAD branches. Thanks.
Comment #4
(not verified) commentedComment #5
ricmadeira commentedThe solution implemented for this bug creates another problem, which is the chatbox window pops up over every other browser window on each refresh (at least with IE).
Maybe someone could try an alternate solution? Or at least work on the new issue this patch causes?
Comment #6
darren ohSince the patch has already been committed, it's too late to review it.