diff --git a/mozilla/xpfe/global/resources/content/bindings/menulist.xml b/mozilla/xpfe/global/resources/content/bindings/menulist.xml index 95874f6587a..67775960d4f 100644 --- a/mozilla/xpfe/global/resources/content/bindings/menulist.xml +++ b/mozilla/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()'); + ]]> + + + + + + + + + + + + + + + + + + + + + +