Clear the list of result search sites when the search dialog opens.

This commit is contained in:
rjc%netscape.com 1999-11-24 20:40:01 +00:00
Родитель b209b3ebc0
Коммит c9fefe4477
2 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -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);
} }