Bug 344189: don't cancel the search autocomplete timer from stopSearch, to avoid having the caller wait indefinitely (also avoids multiple tabs opening for a single search), r=mconnor (I forgot to check this file in)

This commit is contained in:
gavin%gavinsharp.com 2006-07-27 21:50:40 +00:00
Родитель fd061c8cbc
Коммит 8ce53c83e5
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -344,6 +344,7 @@ SuggestAutoComplete.prototype = {
this._listener.onSearchResult(this, this._formHistoryResult);
this._reset();
this._formHistoryTimer = null;
},
/**
@ -391,9 +392,6 @@ SuggestAutoComplete.prototype = {
* This clears all the per-request state.
*/
_reset: function SAC_reset() {
if (this._formHistoryTimer)
this._formHistoryTimer.cancel();
this._formHistoryTimer = null;
this._formHistoryResult = null;
this._listener = null;
this._request = null;