Bug 1320568 - Properly clear searchTerms in suite/mailnews/searchBar.js. r=Ratty, a=Ratty DONTBUILD
This commit is contained in:
Родитель
db9e870324
Коммит
f407d19c0a
|
@ -292,7 +292,7 @@ function createSearchTermsWithList(aTermsArray)
|
||||||
var nsMsgSearchAttrib = Components.interfaces.nsMsgSearchAttrib;
|
var nsMsgSearchAttrib = Components.interfaces.nsMsgSearchAttrib;
|
||||||
var nsMsgSearchOp = Components.interfaces.nsMsgSearchOp;
|
var nsMsgSearchOp = Components.interfaces.nsMsgSearchOp;
|
||||||
|
|
||||||
gSearchSession.clear();
|
gSearchSession.searchTerms.clear();
|
||||||
gSearchSession.clearScopes();
|
gSearchSession.clearScopes();
|
||||||
|
|
||||||
var i;
|
var i;
|
||||||
|
@ -385,7 +385,7 @@ function createSearchTerms()
|
||||||
createSearchTermsWithList(searchTermsArray);
|
createSearchTermsWithList(searchTermsArray);
|
||||||
|
|
||||||
// now that we've added the terms, clear out our input array
|
// now that we've added the terms, clear out our input array
|
||||||
searchTermsArray.Clear();
|
searchTermsArray.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
function onSearchStop()
|
function onSearchStop()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче