remove rpc_pnotify_callback
This commit is contained in:
parent
e8bd0da952
commit
772bc83b8d
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue