Closed Bug 106131 Opened 24 years ago Closed 24 years ago

hitting enter on focused OK button in dialog fires onaccept 2x

Categories

(Core :: XUL, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla0.9.6

People

(Reporter: hewitt, Assigned: hewitt)

Details

Attachments

(1 file)

This is a side-effect of the fixing of bug 84602 (hitting enter on focused button doesn't fire oncommand). Before, we were handling the enter keypress at a global level and firing onaccept for it, but now, the button's oncommand event fires, and so onaccept will naturally fire as a result.
Attached patch patchSplinter Review
hyatt sez sr=hyatt
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.6
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: