if (_catchup_callback_func) {
setTimeout(_catchup_callback_func, 100);
}
+ notify("");
all_counters_callback();
} catch (e) {
exception_error("catchup_callback", e);
} else {
update_all_counters();
}
+
+ notify("");
}
}
var date = new Date();
var timestamp = Math.round(date.getTime() / 1000);
- query = query + "&ts=" + timestamp
+ query = query + "&ts=" + timestamp;
+
+ notify_progress("Loading, please wait...");
xmlhttp.open("GET", query, true);
xmlhttp.onreadystatechange=article_callback;
var query = "backend.php?op=rpc&subop=catchupSelected&ids=" +
param_escape(id) + "&cmode=" + param_escape(cmode);
+ notify_progress("Loading, please wait...");
+
xmlhttp_rpc.open("GET", query, true);
xmlhttp_rpc.onreadystatechange=all_counters_callback;
xmlhttp_rpc.send(null);
_catchup_callback_func = callback_func;
+ notify_progress("Loading, please wait...");
+
xmlhttp_rpc.open("GET", query, true);
xmlhttp_rpc.onreadystatechange=catchup_callback;
xmlhttp_rpc.send(null);