mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +00:00
Checkin for smeredith@netscape.com
Fix for bug 92358: nested radio buttons in XUL. r=jag, sr=blake
This commit is contained in:
parent
bc3efa22e4
commit
647d90a033
@ -129,8 +129,11 @@
|
||||
<handlers>
|
||||
<handler event="click" button="0">
|
||||
<![CDATA[
|
||||
if (event.target.localName == "radio" && !event.target.disabled)
|
||||
this.selectedItem = event.target;
|
||||
|
||||
if (event.target.localName == "radio" &&
|
||||
event.target.getAttribute("group") == this.id && // nested radiogroups?
|
||||
!event.target.disabled)
|
||||
this.selectedItem = event.target;
|
||||
|
||||
]]>
|
||||
</handler>
|
||||
|
Loading…
Reference in New Issue
Block a user