From bbfbb851e6f7dca8c079fb479e4af7d607f35298 Mon Sep 17 00:00:00 2001 From: "sgehani%netscape.com" Date: Thu, 14 Sep 2006 06:03:39 +0000 Subject: [PATCH] Fix search in URL bar, search button, and context menu. b=132780; r=law; sr=scc; a=asa --- suite/browser/navigator.js | 2 +- suite/browser/urlbarBindings.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/suite/browser/navigator.js b/suite/browser/navigator.js index aaafc35b636..f109d0093c6 100644 --- a/suite/browser/navigator.js +++ b/suite/browser/navigator.js @@ -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; } diff --git a/suite/browser/urlbarBindings.xml b/suite/browser/urlbarBindings.xml index d71c198565f..55d7e6e081f 100644 --- a/suite/browser/urlbarBindings.xml +++ b/suite/browser/urlbarBindings.xml @@ -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;