summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-21 05:38:28 +0100
committerAndrew Dolgov <[email protected]>2008-05-21 05:38:28 +0100
commit6cc1fab32228f509db4ecf2fa7973cc7c46a8ac7 (patch)
treee594675d83dd59fcfc11921396f6c5c5266e7a67 /functions.js
parent06c88b8dc37dceb236f1c7eea795a86088fb6135 (diff)
check for failures to request counters in async way after viewfeed/view
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/functions.js b/functions.js
index b3673b03f..456b65af7 100644
--- a/functions.js
+++ b/functions.js
@@ -2,6 +2,7 @@ var hotkeys_enabled = true;
var xmlhttp_rpc = Ajax.getTransport();
var notify_silent = false;
var last_progress_point = 0;
+var async_counters_work = false;
/* add method to remove element from array */
@@ -626,8 +627,10 @@ function parse_counters_reply(transport, scheduled_call) {
}
-function all_counters_callback2(transport) {
+function all_counters_callback2(transport, async_call) {
try {
+ if (async_call) async_counters_work = true;
+
debug("<b>all_counters_callback2 IN: " + transport + "</b>");
parse_counters_reply(transport);
debug("<b>all_counters_callback2 OUT: " + transport + "</b>");