From f4dc303882fe8927d025490761d87b7462c99324 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Sun, 27 Nov 2005 07:08:57 +0000 Subject: [PATCH] Bug 130462 "null" or "" is displayed in drop-down search text in URL bar patch by ajschult@verizon.net r=jag sr=neil --- .../autocomplete/resources/content/autocomplete.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xpfe/components/autocomplete/resources/content/autocomplete.xml b/xpfe/components/autocomplete/resources/content/autocomplete.xml index f5d8f5d09551..dfca6c73634f 100644 --- a/xpfe/components/autocomplete/resources/content/autocomplete.xml +++ b/xpfe/components/autocomplete/resources/content/autocomplete.xml @@ -300,7 +300,7 @@ false false null - null + "" false null null @@ -973,6 +973,10 @@ { // up/down keys while menu is closed will open menu if (!this.mMenuOpen) { + if (this.currentSearchString != this.value) { + this.processInput(); + return true; + } if (!this.view.rowCount && !this.alwaysOpenPopup) return false;