From 2adc30d33529e8f1edb5e1a48c8975eb41fe4a54 Mon Sep 17 00:00:00 2001 From: orbiter Date: Thu, 27 Oct 2011 23:21:39 +0000 Subject: [PATCH] suppressing size if size unknown git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@8005 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/js/yacyinteractive.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htroot/js/yacyinteractive.js b/htroot/js/yacyinteractive.js index b84307904..43b18a832 100644 --- a/htroot/js/yacyinteractive.js +++ b/htroot/js/yacyinteractive.js @@ -99,7 +99,7 @@ function resultNavigation() { var html = ""; if (searchresult.length > totalResults) totalResults = searchresult.length; if (totalResults > 0) { - html += "
" + searchresult.length + " results from a total of " + totalResults + " docs in index (not showing offline resources); search time: " + ((new Date()).getTime() - start.getTime()) + " milliseconds. "; + html += "
" + searchresult.length + " results from a total of " + totalResults + " docs in index; search time: " + ((new Date()).getTime() - start.getTime()) + " milliseconds. "; html += "
"; } else { if (query == "") { @@ -217,7 +217,7 @@ function resultLine(type, item, linenumber) { html += "" + host + ""; html += "" + path + ""; html += "" + title + ""; - html += "" + item.sizename + ""; + if (item.sizename == "-1 bytes") html += ""; else html += "" + item.sizename + ""; //html += "" + item.description + ""; html += "" + pd + ""; html += "";