Closed
Bug 75705
Opened 24 years ago
Closed 24 years ago
JavaScript focus() function not working when in setTimeout()
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: baz, Assigned: hyatt)
References
()
Details
The code in the pop-up window is:
<body bgcolor='#404080' text='#FFFFFF' onBlur="setTimeout('self.focus()', 2000)">
However the window is not given focus after the set two seconds.
Reporter | ||
Comment 1•24 years ago
|
||
Um, this seems to work now... however you have to actually click on the pop-up
for it to work. The main window also seems to grab focus after it has loaded,
hiding the pop-up. Sorry if this is really minor :(
![]() |
||
Updated•24 years ago
|
Assignee: rogerl → trudelle
Component: Javascript Engine → XP Toolkit/Widgets
QA Contact: pschwartau → jrgm
Whiteboard: DUPEME
![]() |
||
Comment 2•24 years ago
|
||
the main window grabbing focus is filed already...
Comment 6•24 years ago
|
||
resolving as wfm
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•