From 27763b6faf464f133bbc24d451409f5ae81f861b Mon Sep 17 00:00:00 2001 From: "blakeross%telocity.com" Date: Wed, 25 Jul 2001 06:14:25 +0000 Subject: [PATCH] Radio focus handling not quite correct (91880). Patch by Neil . r=hwaara sr=blake --- xpfe/global/resources/content/bindings/radio.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xpfe/global/resources/content/bindings/radio.xml b/xpfe/global/resources/content/bindings/radio.xml index 6f7af07c33bf..6835512aec88 100644 --- a/xpfe/global/resources/content/bindings/radio.xml +++ b/xpfe/global/resources/content/bindings/radio.xml @@ -171,8 +171,10 @@ it is not (Windows platform behaviour is for the group to receive focus, not the item --> - this.setAttribute("focused", "true"); - if (this.focusedItem == null) this.focusedItem = this.selectedItem; + if (event.target == this) { + this.setAttribute("focused", "true"); + if (this.focusedItem == null) this.focusedItem = this.selectedItem; + } this.removeAttribute("focused");