зеркало из 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) {
|
if (searchURL) {
|
||||||
defaultSearchURL = searchURL + escapedSearchStr;
|
defaultSearchURL = searchURL + escapedSearchStr;
|
||||||
} else {
|
} else {
|
||||||
searchURL = searchDS.GetInternetSearchURL(searchEngineURI, escapedSearchStr);
|
searchURL = searchDS.GetInternetSearchURL(searchEngineURI, escapedSearchStr, 0, 0, {value:0});
|
||||||
if (searchURL)
|
if (searchURL)
|
||||||
defaultSearchURL = searchURL;
|
defaultSearchURL = searchURL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -419,7 +419,7 @@
|
||||||
searchEngUrl += escapedSearch;
|
searchEngUrl += escapedSearch;
|
||||||
return searchEngUrl;
|
return searchEngUrl;
|
||||||
} else {
|
} else {
|
||||||
return searchService.GetInternetSearchURL(item.getAttribute("searchEngine"),escapedSearch);
|
return searchService.GetInternetSearchURL(item.getAttribute("searchEngine"),escapedSearch, 0, 0, {value:0});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче