From 89993c6a77176a47680bf219f9a3ddfabcf1cde4 Mon Sep 17 00:00:00 2001 From: "cmanske%netscape.com" Date: Sat, 19 May 2001 01:08:04 +0000 Subject: [PATCH] Fixed editable menulist problems needed to make Composer's Advanced Edit dialog and some wallet dialogs work. Part of work for bug 71743, r=mjudge, sr=hewitt --- .../resources/content/bindings/menulist.xml | 111 ++++++++++++++---- 1 file changed, 89 insertions(+), 22 deletions(-) diff --git a/xpfe/global/resources/content/bindings/menulist.xml b/xpfe/global/resources/content/bindings/menulist.xml index 95874f6587af..67775960d4f5 100644 --- a/xpfe/global/resources/content/bindings/menulist.xml +++ b/xpfe/global/resources/content/bindings/menulist.xml @@ -60,6 +60,36 @@ ]]> + + + + + + + @@ -134,28 +164,7 @@ @@ -175,6 +184,38 @@ + + // so we select matching menuitem when it is opened + var arr = getElementsByTagName("menupopup"); + if (arr && arr.length) + arr[0].setAttribute('oncreate', 'selectInputFieldValueInList()'); + ]]> + + + + + + + + + + + + + + + + + + + + + +