show new page on page catchup (2)

This commit is contained in:
Andrew Dolgov 2006-09-29 05:57:07 +01:00
parent e08443c1bf
commit 8f3b99baec
1 changed files with 9 additions and 3 deletions

View File

@ -3,9 +3,15 @@ var _catchup_callback_func = false;
function catchup_callback() {
if (xmlhttp_rpc.readyState == 4) {
try {
debug("catchup_callback");
setTimeout("viewCurrentFeed()", 100);
if (_catchup_callback_func) {
setTimeout(_catchup_callback_func, 100);
}
all_counters_callback();
} catch (e) {
exception_error("catchup_callback", e);
}
}
}