Closed
Bug 426021
Opened 17 years ago
Closed 16 years ago
Set the initial focus without a timeout in wizard.xml and updates.js
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla1.9.1b2
People
(Reporter: dao, Unassigned)
References
Details
spin off from bug 424995 comment 5:
> (In reply to bug 424995 comment #3)
> > gUpdates.wiz.getButton("finish").focus(); didn't work for me without a timeout
> > ... not sure why.
>
> You're probably racing with wizard.xml's _setInitialFocus, which is called from
> a timeout in an onload listener (much like updates.js' onLoad). It uses a
> timeout because of bug 103197, but I think things have changed enough since
> then that it's no longer necessary. Can you at least file a bug to investigate
> removing that timeout, so that we can remove the one you're adding?
Comment 1•16 years ago
|
||
I have a fix for this and will land it in bug 324121
Assignee: nobody → robert.bugzilla
Depends on: 324121
Comment 2•16 years ago
|
||
Fixed by the checkin of bug 324121.
Assignee: robert.bugzilla → nobody
Status: NEW → RESOLVED
Closed: 16 years ago
Component: XUL Widgets → Application Update
QA Contact: xul.widgets → application.update
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b2
You need to log in
before you can comment on or make changes to this bug.
Description
•