remove rpc_pnotify_callback

This commit is contained in:
Andrew Dolgov 2006-05-23 07:35:27 +01:00
parent e8bd0da952
commit 772bc83b8d
2 changed files with 3 additions and 10 deletions

View File

@ -47,13 +47,6 @@ function rpc_notify_callback() {
}
}
function rpc_pnotify_callback() {
var container = parent.document.getElementById('notify');
if (xmlhttp_rpc.readyState == 4) {
container.innerHTML=xmlhttp_rpc.responseText;
}
}
function param_escape(arg) {
if (typeof encodeURIComponent != 'undefined')
return encodeURIComponent(arg);

View File

@ -108,9 +108,9 @@ function toggleMark(id) {
}
}
xmlhttp_rpc.open("GET", query, true);
xmlhttp_rpc.onreadystatechange=rpc_pnotify_callback;
xmlhttp_rpc.send(null);
debug("toggle starred for aid " + id);
new Ajax.Request(query);
}