From ad07da820dcd920325fff1254f9699f96aa30026 Mon Sep 17 00:00:00 2001 From: "jwalden%mit.edu" Date: Thu, 19 May 2005 18:29:28 +0000 Subject: [PATCH] Bug 294232 - Actually do searches through defined search datasources. r=neil, a=asa git-svn-id: svn://10.0.0.236/trunk@173587 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/toolkit/components/help/content/help.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mozilla/toolkit/components/help/content/help.js b/mozilla/toolkit/components/help/content/help.js index b21e3c12d71..0a06f8d1464 100644 --- a/mozilla/toolkit/components/help/content/help.js +++ b/mozilla/toolkit/components/help/content/help.js @@ -684,6 +684,12 @@ function doFind() { doFindOnDatasource(resultsDS, sourceDS, RDF_ROOT, 0); + // search additional search datasources + if (searchDatasources != "rdf:null") { + if (!searchDS) searchDS = loadCompositeDS(searchDatasources); + doFindOnDatasource(resultsDS, searchDS, RDF_ROOT, 0); + } + if (emptySearch) assertSearchEmpty(resultsDS); // Add the datasource to the search tree