git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1774 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 19 years ago
parent 351bd0a678
commit 8f471c258c

@ -12,10 +12,10 @@ function AllSnippets() {
function requestSnippet(url, query){
var req=createRequestObject();
req.open('get', '/xml/snippet.xml?url=' + escape(url) + '&search=' + escape(query),false);
req.onreadystatechange = function () {handleState(req)};
req.send(null);
var request=createRequestObject();
request.open('get', '/xml/snippet.xml?url=' + escape(url) + '&search=' + escape(query),true);
request.onreadystatechange = function () {handleState(request)};
request.send(null);
}
function handleState(req) {

Loading…
Cancel
Save