зеркало из https://github.com/mozilla/pjs.git
Fix search in URL bar, search button, and context menu.
b=132780; r=law; sr=scc; a=asa
This commit is contained in:
Родитель
5a0622d4c1
Коммит
bbfbb851e6
|
@ -831,7 +831,7 @@ function OpenSearch(tabName, forceDialogFlag, searchStr, newWindowFlag)
|
|||
if (searchURL) {
|
||||
defaultSearchURL = searchURL + escapedSearchStr;
|
||||
} else {
|
||||
searchURL = searchDS.GetInternetSearchURL(searchEngineURI, escapedSearchStr);
|
||||
searchURL = searchDS.GetInternetSearchURL(searchEngineURI, escapedSearchStr, 0, 0, {value:0});
|
||||
if (searchURL)
|
||||
defaultSearchURL = searchURL;
|
||||
}
|
||||
|
|
|
@ -419,7 +419,7 @@
|
|||
searchEngUrl += escapedSearch;
|
||||
return searchEngUrl;
|
||||
} else {
|
||||
return searchService.GetInternetSearchURL(item.getAttribute("searchEngine"),escapedSearch);
|
||||
return searchService.GetInternetSearchURL(item.getAttribute("searchEngine"),escapedSearch, 0, 0, {value:0});
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
|
Загрузка…
Ссылка в новой задаче