webbuild.html: don't set expire date for cookies

This commit is contained in:
Silvan Calarco 2014-05-31 15:30:20 +02:00
parent eff79c5bf8
commit 30e8c88970

View File

@ -151,13 +151,10 @@ function ajax_getvalues(request,confirm) {
if (nodes[i].nodeName == "title") {
document.title = nodes[i].childNodes[0].nodeValue;
} else if (nodes[i].nodeName == "cookie-user") {
setCookie("webbuild-user", nodes[i].childNodes[0].nodeValue, 1);
setCookie("webbuild-user", nodes[i].childNodes[0].nodeValue);
} else if (nodes[i].nodeName == "cookie-secret") {
setCookie("webbuild-secret", nodes[i].childNodes[0].nodeValue, 1);
setCookie("webbuild-secret", nodes[i].childNodes[0].nodeValue);
} else if (document.getElementById(nodes[i].nodeName) != undefined) {
// var node = document.getElementById(nodes[i].nodeName)
//alert("replace " + node.nodeValue + "with " + nodes[i].childNodes[0].nodeValue);
// node = replaceHTML(node, nodes[i].childNodes[0].nodeValue);
$("#"+nodes[i].nodeName).html(nodes[i].childNodes[0].nodeValue);
spectext = document.getElementById("spectext");
if ((nodes[i].nodeName == "editor") && (spectext != undefined) && (spectext.parentNode != undefined))