diff options
author | Andrew Dolgov <[email protected]> | 2007-08-30 02:01:23 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-30 02:01:23 +0100 |
commit | 5fe7767c0ea24d98abc8866cdc9a1f268c083d75 (patch) | |
tree | 6061d8e683d15f995b72ed99d3255e1ab2736488 | |
parent | 828f22b7ebc99fb0b375166643556e695dcaf91f (diff) |
catchupRelative: move to ajax.request
-rw-r--r-- | viewfeed.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/viewfeed.js b/viewfeed.js index 7106d781b..a1c999308 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -1331,10 +1331,11 @@ function catchupRelativeToArticle(below) { var query = "backend.php?op=rpc&subop=catchupSelected&ids=" + param_escape(ids_to_mark.toString()) + "&cmode=0"; - xmlhttp_rpc.open("GET", query, true); - xmlhttp_rpc.onreadystatechange=catchup_callback; - xmlhttp_rpc.send(null); - + new Ajax.Request(query, { + onComplete: function(transport) { + catchup_callback2(transport); + } }); + } } |