summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-24 05:04:55 +0100
committerAndrew Dolgov <[email protected]>2007-08-24 05:04:55 +0100
commit1341ea0dbedf749ff87e7d9b4b8a06d42d4ca4e0 (patch)
treebd36711353f0aa4ad6b44a7c1a136bfc77576fc2 /functions.js
parentdcf7fd08d1826f0289c99bea4d32a566f1224505 (diff)
add some async counters handling
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js14
1 files changed, 13 insertions, 1 deletions
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("<b>all_counters_callback2 IN: " + transport + "</b>");
+ parse_counters_reply(transport);
+ debug("<b>all_counters_callback2 OUT: " + transport + "</b>");
+
+ } catch (e) {
+ exception_error("all_counters_callback2", e);
+ }
+}
+
function all_counters_callback() {
if (xmlhttp_rpc.readyState == 4) {
try {