Closed Bug 274672 Opened 20 years ago Closed 20 years ago

Pressing Enter in Wizard activate BOTH focused button and pageAdvance()

Categories

(Core :: XUL, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: lwchk2001, Unassigned)

References

Details

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Expected behavior:
a. If a button is focused, activate the focused button,
b. otherwise, activate pageAdvance()

Reproducible: Always

Steps to Reproduce:
Removed wrong check of dlgType="button"
If localName check is not enough, check also for the namespace.
xpfe/global/resources/content/bindings/wizard.xml needs the same change...
Attachment #168740 - Attachment is obsolete: true
Attachment #171632 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #171632 - Flags: review?(neil.parkwaycc.co.uk) → review+
Attachment #171632 - Flags: superreview?(bzbarsky)
Comment on attachment 171632 [details] [diff] [review]
Patch for both wizard.xmls v0.2 (checked in)

sr=bzbarsky.  Ian, can you check this in when the tree reopens?
Attachment #171632 - Flags: superreview?(bzbarsky) → superreview+
*** Bug 238794 has been marked as a duplicate of this bug. ***
Comment on attachment 171632 [details] [diff] [review]
Patch for both wizard.xmls v0.2 (checked in)

Checking in toolkit/content/widgets/wizard.xml;
/cvsroot/mozilla/toolkit/content/widgets/wizard.xml,v  <--  wizard.xml
new revision: 1.17; previous revision: 1.16
done
Checking in xpfe/global/resources/content/bindings/wizard.xml;
/cvsroot/mozilla/xpfe/global/resources/content/bindings/wizard.xml,v  <-- 
wizard.xml
new revision: 1.21; previous revision: 1.20
done
Attachment #171632 - Attachment description: Patch for both wizard.xmls v0.2 → Patch for both wizard.xmls v0.2 (checked in)
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: