Bug 468363 - Clicking on URL in autocomplete drop-down while search is running does not autocomplete URL, r=Neil, SeaMonkey/Thunderbird only

This commit is contained in:
Frank Wein 2009-04-14 15:38:40 +02:00
parent 0b5e6a2535
commit 7978a98b0a

View File

@ -851,7 +851,7 @@
var val = this.resultsPopup.overrideValue;
if (val)
this.setTextValue(val);
else if (this.resultsPopup.selectedIndex != -1 && !this.noMatch) {
else if (this.resultsPopup.selectedIndex != -1) {
if (this.getSessionStatusAt(this.resultsPopup.selectedIndex) ==
Components.interfaces.nsIAutoCompleteStatus.failureItems) {
this.setTextValue(this.currentSearchString);