themes/stpatty/header.tpl
changeset 298 39c132e69781
parent 185 ab6336bfce48
child 335 67bd3121a12e
equal deleted inserted replaced
292:b3cfaf0a505c 298:39c132e69781
    43         elem2.parentNode.removeChild(elem2); // just destroy the thing
    43         elem2.parentNode.removeChild(elem2); // just destroy the thing
    44         elem1.removeChild(elem1.firstChild);
    44         elem1.removeChild(elem1.firstChild);
    45         elem1.appendChild(document.createTextNode(value));
    45         elem1.appendChild(document.createTextNode(value));
    46         elem1.style.display = 'block';
    46         elem1.style.display = 'block';
    47         if(!value || value=='') return;
    47         if(!value || value=='') return;
    48         ajaxPost(stdAjaxPrefix+'&_mode=rename', 'newtitle='+escape(value), function() {
    48         ajaxPost(stdAjaxPrefix+'&_mode=rename', 'newtitle='+ajaxEscape(value), function() {
    49           if(ajax.readyState == 4) {
    49           if(ajax.readyState == 4) {
    50             alert(ajax.responseText);
    50             alert(ajax.responseText);
    51           }
    51           }
    52         });
    52         });
    53       }
    53       }