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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user