From 559d1c447f64e2429a2a558811a053542c60c576 Mon Sep 17 00:00:00 2001 From: allo Date: Thu, 7 Jun 2007 22:49:31 +0000 Subject: [PATCH] Bookmarks tag suggestion AJAX fix for configadvanced empty bugs are not a interface bug, but a scraper bug. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3821 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/ConfigAdvanced_p.html | 2 +- htroot/js/Bookmarks.js | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/htroot/ConfigAdvanced_p.html b/htroot/ConfigAdvanced_p.html index 946baf837..8764eafbe 100644 --- a/htroot/ConfigAdvanced_p.html +++ b/htroot/ConfigAdvanced_p.html @@ -53,7 +53,7 @@
- : + :
diff --git a/htroot/js/Bookmarks.js b/htroot/js/Bookmarks.js index f7e67e39b..106228411 100644 --- a/htroot/js/Bookmarks.js +++ b/htroot/js/Bookmarks.js @@ -5,7 +5,14 @@ function handleResponse(){ if(http.readyState == 4){ var response = http.responseXML; title=response.getElementsByTagName("title")[0].firstChild.nodeValue; - document.getElementsByName("title")[0].value=title; + tags_field=document.getElementById("tags"); + document.getElementById("title").value=title; + + tags=response.getElementsByTagName("tag"); + for(i=0;i