Fix bug 308965 Updates radio button not checked. Patch by Dave Townsend (Mossop) <mossop@blueprintit.co.uk> r=mconnor

This commit is contained in:
bugzilla%standard8.demon.co.uk 2005-09-17 19:07:00 +00:00
Родитель ae42e49b62
Коммит d9e72805e1
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -353,6 +353,8 @@
setValue(aElement, "checked", val); setValue(aElement, "checked", val);
else if (aElement.localName == "colorpicker") else if (aElement.localName == "colorpicker")
setValue(aElement, "color", val); setValue(aElement, "color", val);
else if (aElement.localName == "radiogroup")
setValue(aElement, "value", val);
else if (this.getElementValue(aElement) != val) { else if (this.getElementValue(aElement) != val) {
// XXXmano Bug 303998: Avoid a caret placement issue if either the // XXXmano Bug 303998: Avoid a caret placement issue if either the
// preference observer or its setter calls updateElements as a result // preference observer or its setter calls updateElements as a result