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
pull/1/head
allo 18 years ago
parent b2a9080a14
commit 559d1c447f

@ -53,7 +53,7 @@
</select><br />
<form action="Config_p.html" method="post">
<fieldset>
<input type="text" id="key" name="key" size="40" onkeydown="filterList()" />:<input type="text" id="value" name="value" size="40" />
<input type="text" id="key" name="key" size="40" onkeyup="filterList()" />:<input type="text" id="value" name="value" size="40" />
<input type="submit" value="Save" />
</fieldset>
</form>

@ -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<tags.length-1;i++){
tags_field.value+=tags[i].getAttribute("name")+",";
}
tags_field.value+=tags[tags.length-1].getAttribute("name");
// remove the ajax image
document.getElementsByName("ajax")[0].setAttribute("src", AJAX_OFF);

Loading…
Cancel
Save