From 1341ea0dbedf749ff87e7d9b4b8a06d42d4ca4e0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 24 Aug 2007 05:04:55 +0100 Subject: add some async counters handling --- functions.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'functions.js') diff --git a/functions.js b/functions.js index 0d8390199..da33ba42e 100644 --- a/functions.js +++ b/functions.js @@ -712,7 +712,8 @@ function parse_counters(reply, scheduled_call) { } if (row_needs_hl) { - new Effect.Highlight(feedr, {duration: 1, startcolor: "#fff7d5"}); + new Effect.Highlight(feedr, {duration: 1, startcolor: "#fff7d5", + queue: { position:'end', scope: 'EFQ-' + id, limit: 1 } } ); } } else { feedctr.className = "invisible"; @@ -790,6 +791,17 @@ function parse_counters_reply(xmlhttp, scheduled_call) { } +function all_counters_callback2(transport) { + try { + debug("all_counters_callback2 IN: " + transport + ""); + parse_counters_reply(transport); + debug("all_counters_callback2 OUT: " + transport + ""); + + } catch (e) { + exception_error("all_counters_callback2", e); + } +} + function all_counters_callback() { if (xmlhttp_rpc.readyState == 4) { try { -- cgit v1.2.3-54-g00ecf