From 3c806ac954aed0e9ff6797c723c63b3a3a54132b Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Thu, 6 Mar 2003 10:01:01 +0000 Subject: [PATCH] Bug 195393 Use phase="target" r=varga sr=jag --- .../resources/content/bindings/listbox.xml | 37 +++++++++---------- .../resources/content/bindings/radio.xml | 11 ++---- .../resources/content/bindings/tree.xml | 2 +- 3 files changed, 22 insertions(+), 28 deletions(-) diff --git a/xpfe/global/resources/content/bindings/listbox.xml b/xpfe/global/resources/content/bindings/listbox.xml index e5b90e3cfa2f..404b5a02cfc6 100644 --- a/xpfe/global/resources/content/bindings/listbox.xml +++ b/xpfe/global/resources/content/bindings/listbox.xml @@ -488,9 +488,9 @@ - + - + - + - + - + - + - + - + - + - + 0 && !event.altKey && !event.ctrlKey && !event.shiftKey && !event.metaKey) { diff --git a/xpfe/global/resources/content/bindings/radio.xml b/xpfe/global/resources/content/bindings/radio.xml index 646046af8f8a..b388b952276c 100644 --- a/xpfe/global/resources/content/bindings/radio.xml +++ b/xpfe/global/resources/content/bindings/radio.xml @@ -142,7 +142,6 @@ - + this.selectedItem = this.focusedItem; this.selectedItem.doCommand(); @@ -305,11 +304,9 @@ it is not (Windows platform behaviour is for the group to receive focus, not the item --> - if (event.target == this) { - this.setAttribute("focused", "true"); - if (!this.focusedItem) - this.focusedItem = this.selectedItem; - } + this.setAttribute("focused", "true"); + if (!this.focusedItem) + this.focusedItem = this.selectedItem; this.removeAttribute("focused"); diff --git a/xpfe/global/resources/content/bindings/tree.xml b/xpfe/global/resources/content/bindings/tree.xml index 9a7b6da23c39..da05f6a2fc4c 100644 --- a/xpfe/global/resources/content/bindings/tree.xml +++ b/xpfe/global/resources/content/bindings/tree.xml @@ -996,7 +996,7 @@ - +