themes/oxygen/header.tpl
changeset 304 e2cb5f1432c8
parent 229 97ae8e9d5e29
parent 298 39c132e69781
child 335 67bd3121a12e
equal deleted inserted replaced
280:dc08c70ca550 304:e2cb5f1432c8
    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       }