Closed Bug 75705 Opened 24 years ago Closed 24 years ago

JavaScript focus() function not working when in setTimeout()

Categories

(Core :: XUL, defect)

x86
Windows 98
defect
Not set
normal

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.
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 :(
Assignee: rogerl → trudelle
Component: Javascript Engine → XP Toolkit/Widgets
QA Contact: pschwartau → jrgm
Whiteboard: DUPEME
the main window grabbing focus is filed already...
related to bug 65012? or bug 41813?
Dupe of bug 53350 "Parent window forces itself above child popup window" ?
->hyatt
Assignee: trudelle → hyatt
resolving as wfm
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.