diff --git a/xpfe/components/autocomplete/resources/content/autocomplete.xml b/xpfe/components/autocomplete/resources/content/autocomplete.xml index 12360d164c4..4d4e13d4cf3 100644 --- a/xpfe/components/autocomplete/resources/content/autocomplete.xml +++ b/xpfe/components/autocomplete/resources/content/autocomplete.xml @@ -10,14 +10,14 @@ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xbl="http://www.mozilla.org/xbl"> - - + @@ -1628,6 +1628,9 @@ var textbox = document.getBindingParent(this); var kids = textbox.getElementsByClassName("autocomplete-history-popup"); if (kids.item(0) && textbox.getAttribute("open") != "true") { // Open history popup + var w = textbox.boxObject.width; + if (w != kids[0].boxObject.width) + kids[0].width = w; kids[0].showPopup(textbox, -1, -1, "popup", "bottomleft", "topleft"); textbox.setAttribute("open", "true"); }