1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-22 17:41:28 +00:00

move counters processing to different xmlhttp object

This commit is contained in:
Andrew Dolgov
2006-09-29 04:44:58 +01:00
parent 7bc4f2517f
commit abbe0154f7
4 changed files with 119 additions and 15 deletions

View File

@@ -1,7 +1,5 @@
var active_post_id = false;
//var xmlhttp_rpc = Ajax.getTransport();
function headlines_callback() {
if (xmlhttp.readyState == 4) {
debug("headlines_callback");
@@ -54,8 +52,6 @@ function view(id, feed_id) {
var query = "backend.php?op=view&id=" + param_escape(id) +
"&feed=" + param_escape(feed_id);
xmlhttp.abort();
if (xmlhttp_ready(xmlhttp)) {
xmlhttp.open("GET", query, true);
xmlhttp.onreadystatechange=article_callback;