diff --git a/mozilla/xpfe/components/autocomplete/resources/content/autocomplete.xml b/mozilla/xpfe/components/autocomplete/resources/content/autocomplete.xml index 4f68bed1c8c..34616ba45f1 100644 --- a/mozilla/xpfe/components/autocomplete/resources/content/autocomplete.xml +++ b/mozilla/xpfe/components/autocomplete/resources/content/autocomplete.xml @@ -528,7 +528,7 @@ 0 && results.defaultItemIndex != -1) { this.value = this.getSessionValueAt(name, results.defaultItemIndex); + this.mDefaultMatchFilled = true; this.mNeedToFinish = false; break; } @@ -728,7 +729,10 @@ this.mNeedToFinish = false; var defaultSession = this.getDefaultSession(); if (defaultSession) + { this.value = this.getSessionValueAt(defaultSession, 0); // preselect the first one... + this.mDefaultMatchFilled = true; + } } } @@ -1011,14 +1015,14 @@