If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Set the initial focus without a timeout in wizard.xml and updates.js

RESOLVED FIXED in mozilla1.9.1b2

Status

()

Toolkit
Application Update
RESOLVED FIXED
10 years ago
9 years ago

People

(Reporter: dao, Unassigned)

Tracking

Trunk
mozilla1.9.1b2
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
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?
I have a fix for this and will land it in bug 324121
Assignee: nobody → robert.bugzilla
Depends on: 324121
Fixed by the checkin of bug 324121.
Assignee: robert.bugzilla → nobody
Status: NEW → RESOLVED
Last Resolved: 9 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.