diff options
author | Andrew Dolgov <[email protected]> | 2008-05-21 05:38:28 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-05-21 05:38:28 +0100 |
commit | 6cc1fab32228f509db4ecf2fa7973cc7c46a8ac7 (patch) | |
tree | e594675d83dd59fcfc11921396f6c5c5266e7a67 /feedlist.js | |
parent | 06c88b8dc37dceb236f1c7eea795a86088fb6135 (diff) |
check for failures to request counters in async way after viewfeed/view
Diffstat (limited to 'feedlist.js')
-rw-r--r-- | feedlist.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/feedlist.js b/feedlist.js index 4f5c8d775..1cd784524 100644 --- a/feedlist.js +++ b/feedlist.js @@ -168,6 +168,10 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) { query = query + "&omode=flc"; } + if (!async_counters_work) { + query = query + "&csync=true"; + } + debug(query); var container = document.getElementById("headlinesInnerContainer"); @@ -517,7 +521,7 @@ function request_counters_real() { new Ajax.Request(query, { onComplete: function(transport) { try { - all_counters_callback2(transport); + all_counters_callback2(transport, true); } catch (e) { exception_error("viewfeed/getcounters", e); } |