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()'); + ]]> + + + + + + + + + + + + + + + + + + + + + +