Bug 146194 sidebar search's next button does not reset count with a new search

patch by Robert Strong <moz_bugzilla@exchangecode.com> r=caillon sr=alecf
This commit is contained in:
cbiesinger%web.de 2005-02-20 16:58:10 +00:00
parent cc1bca264a
commit 6bed59f7d7

View File

@ -825,6 +825,8 @@ function sidebarOpenURL(listitem)
function OpenSearch(aSearchStr, engineURIs)
{
gPageNumber = 0;
var searchEngineURI = nsPreferences.copyUnicharPref("browser.search.defaultengine", null);
var defaultSearchURL = nsPreferences.getLocalizedUnicharPref("browser.search.defaulturl", null);