themes/stpatty/header.tpl
changeset 241 39c132e69781
parent 175 ab6336bfce48
equal deleted inserted replaced
235:b3cfaf0a505c 241: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       }