Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
added - a time-out of 10 seconds - and a clear-on-error in yacyui-portalsearch, to make the loading bar disappear when nothing is found.
orbiter847c3027ffb1
diff --git a/htroot/yacy/ui/js/yacyui-portalsearch.js b/htroot/yacy/ui/js/yacyui-portalsearch.jsindex 7c6ab50f6..0eb30b8e6 100644--- a/htroot/yacy/ui/js/yacyui-portalsearch.js+++ b/htroot/yacy/ui/js/yacyui-portalsearch.js@@ -243,6 +243,10 @@ function yacysearch(global, clear) {param[i] = item;});param[param.length] = { name : 'startRecord', value : startRecord };+ $.ajaxSetup({+ timeout: 10000,+ error: function() {if (clear) $('#ypopup').empty();}+ });$.getJSON(url, param,function(json, status) {if (json[0]) data = json[0];