catchupRelative: move to ajax.request
This commit is contained in:
parent
828f22b7eb
commit
5fe7767c0e
|
@ -1331,9 +1331,10 @@ function catchupRelativeToArticle(below) {
|
||||||
var query = "backend.php?op=rpc&subop=catchupSelected&ids=" +
|
var query = "backend.php?op=rpc&subop=catchupSelected&ids=" +
|
||||||
param_escape(ids_to_mark.toString()) + "&cmode=0";
|
param_escape(ids_to_mark.toString()) + "&cmode=0";
|
||||||
|
|
||||||
xmlhttp_rpc.open("GET", query, true);
|
new Ajax.Request(query, {
|
||||||
xmlhttp_rpc.onreadystatechange=catchup_callback;
|
onComplete: function(transport) {
|
||||||
xmlhttp_rpc.send(null);
|
catchup_callback2(transport);
|
||||||
|
} });
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue