From 585693eb640e66fdab9ff5d080d3847cda32fc18 Mon Sep 17 00:00:00 2001 From: "masayuki%d-toybox.com" Date: Mon, 29 May 2006 18:34:25 +0000 Subject: [PATCH] Bug 240095 Location Bar doesn't stay open (collapses) when clicking on arrow the first time r=mconnor git-svn-id: svn://10.0.0.236/trunk@198584 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/toolkit/content/widgets/autocomplete.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla/toolkit/content/widgets/autocomplete.xml b/mozilla/toolkit/content/widgets/autocomplete.xml index 003bfcf909a..2462953d8f3 100644 --- a/mozilla/toolkit/content/widgets/autocomplete.xml +++ b/mozilla/toolkit/content/widgets/autocomplete.xml @@ -339,6 +339,9 @@ this.popup.popupBoxObject.setConsumeRollupEvent(Components.interfaces.nsIPopupBoxObject.ROLLUP_CONSUME); this.maxRows = 14; + // Eusure this having focus. + if (!this.focused) + this.focus(); this.attachController(); this.mController.startSearch(""); ]]>