mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
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:
parent
cc1bca264a
commit
6bed59f7d7
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user