зеркало из https://github.com/mozilla/pjs.git
Clear the list of result search sites when the search dialog opens.
This commit is contained in:
Родитель
b209b3ebc0
Коммит
c9fefe4477
|
@ -1,7 +1,6 @@
|
||||||
|
|
||||||
function onLoadInternetResults()
|
function onLoadInternetResults()
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
var isupports = Components.classes["component://netscape/rdf/datasource?name=internetsearch"].getService();
|
var isupports = Components.classes["component://netscape/rdf/datasource?name=internetsearch"].getService();
|
||||||
if (!isupports) return(false);
|
if (!isupports) return(false);
|
||||||
var internetSearchService = isupports.QueryInterface(Components.interfaces.nsIInternetSearchService);
|
var internetSearchService = isupports.QueryInterface(Components.interfaces.nsIInternetSearchService);
|
||||||
|
@ -9,7 +8,6 @@ function onLoadInternetResults()
|
||||||
internetSearchService.ClearResultSearchSites();
|
internetSearchService.ClearResultSearchSites();
|
||||||
|
|
||||||
dump("Cleared result search sites.\n");
|
dump("Cleared result search sites.\n");
|
||||||
*/
|
|
||||||
|
|
||||||
return(true);
|
return(true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
|
|
||||||
function onLoadInternetResults()
|
function onLoadInternetResults()
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
var isupports = Components.classes["component://netscape/rdf/datasource?name=internetsearch"].getService();
|
var isupports = Components.classes["component://netscape/rdf/datasource?name=internetsearch"].getService();
|
||||||
if (!isupports) return(false);
|
if (!isupports) return(false);
|
||||||
var internetSearchService = isupports.QueryInterface(Components.interfaces.nsIInternetSearchService);
|
var internetSearchService = isupports.QueryInterface(Components.interfaces.nsIInternetSearchService);
|
||||||
|
@ -9,7 +8,6 @@ function onLoadInternetResults()
|
||||||
internetSearchService.ClearResultSearchSites();
|
internetSearchService.ClearResultSearchSites();
|
||||||
|
|
||||||
dump("Cleared result search sites.\n");
|
dump("Cleared result search sites.\n");
|
||||||
*/
|
|
||||||
|
|
||||||
return(true);
|
return(true);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче