diff --git a/suite/common/search/internetresults.js b/suite/common/search/internetresults.js index 85302a22269f..d146ebf5e717 100644 --- a/suite/common/search/internetresults.js +++ b/suite/common/search/internetresults.js @@ -17,7 +17,6 @@ function doEngineClick(node) resultsTree.setAttribute("style", "height: 70%; width: 100%;"); contentArea.setAttribute("style", "height: 100; width: 100%;"); - html = "
\n"; } else { @@ -49,13 +48,17 @@ function doEngineClick(node) } } - if (html) + if (html != "") { var doc = window.frames[0].document; doc.open("text/html", "replace"); doc.writeln(html); doc.close(); } + else + { + window.frames[0].document.location = "default.htm"; + } } diff --git a/xpfe/components/search/resources/default.htm b/xpfe/components/search/resources/default.htm index 3ad76ee28d06..6741e5d605d0 100755 --- a/xpfe/components/search/resources/default.htm +++ b/xpfe/components/search/resources/default.htm @@ -2,6 +2,7 @@