Fix for bug 92358: nested radio buttons in XUL.
r=jag, sr=blake
This commit is contained in:
dbragg%netscape.com 2001-08-10 19:31:45 +00:00
parent bc3efa22e4
commit 647d90a033

View File

@ -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>