Open
Bug 552198
Opened 15 years ago
Updated 2 years ago
XUL DIalog wont close when using extra1 or extra2 buttons
Categories
(Core :: XUL, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: lesliemurphy, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1030 Safari/532.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)
My modal dialog won't close properly if I use extra1 or extra2, when the button handler returns true. Works find if I use the Cancel or OK buttons.
Reproducible: Always
Steps to Reproduce:
1. Create Modal dialog window.openDialog('chrome://xxx.xul', 'title', 'chrome,dialog,modal,resizable,centerscreen'); Use buttons="extra1,accept". Handler for extra1 returns true
2. Click on the extra1 button
3.
Actual Results:
Dialog closes if an accept or cancel handler is used, does not close if extra1 or extra2 is used
Expected Results:
Dialog should close
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•