themes/oxygen/header.tpl
changeset 298 39c132e69781
parent 81 d7fc25acd3f3
child 304 e2cb5f1432c8
equal deleted inserted replaced
292:b3cfaf0a505c 298:39c132e69781
    92         elem2.parentNode.removeChild(elem2); // just destroy the thing
    92         elem2.parentNode.removeChild(elem2); // just destroy the thing
    93         elem1.removeChild(elem1.firstChild);
    93         elem1.removeChild(elem1.firstChild);
    94         elem1.appendChild(document.createTextNode(value));
    94         elem1.appendChild(document.createTextNode(value));
    95         elem1.style.display = 'block';
    95         elem1.style.display = 'block';
    96         if(!value || value=='') return;
    96         if(!value || value=='') return;
    97         ajaxPost(stdAjaxPrefix+'&_mode=rename', 'newtitle='+escape(value), function() {
    97         ajaxPost(stdAjaxPrefix+'&_mode=rename', 'newtitle='+ajaxEscape(value), function() {
    98           if(ajax.readyState == 4) {
    98           if(ajax.readyState == 4) {
    99             alert(ajax.responseText);
    99             alert(ajax.responseText);
   100           }
   100           }
   101         });
   101         });
   102       }
   102       }