From 151f522267e04e821f63b6bfc8d463ddbdb092a4 Mon Sep 17 00:00:00 2001 From: "bugzilla%arlen.demon.co.uk" Date: Sun, 19 Sep 2004 21:22:49 +0000 Subject: [PATCH] Bug 260357 Nothing is selected for some radio buttons p=me r+sr=neil --- xpfe/global/resources/content/bindings/radio.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpfe/global/resources/content/bindings/radio.xml b/xpfe/global/resources/content/bindings/radio.xml index 8f1b27e612a..5afe20faa2b 100644 --- a/xpfe/global/resources/content/bindings/radio.xml +++ b/xpfe/global/resources/content/bindings/radio.xml @@ -26,7 +26,7 @@ this.setAttribute("value", val); var children = this._getRadioChildren(); for (var i = 0; i < children.length; i++) { - if (children[i].value == val) { + if (String(children[i].value) == String(val)) { this.selectedItem = children[i]; break; }