try {
if (!stage) stage = 0;
+ if (offline_mode) return;
debug("update_offline_data: stage " + stage);
-// notify_progress("Loading, please wait... (" + stage +")", true);
+ notify_progress("Updating offline data... (" + stage +")", true);
var query = "backend.php?op=rpc&subop=download&stage=" + stage;
db.execute("DELETE FROM cache WHERE id LIKE 'F:%' OR id LIKE 'C:%'");
-
- window.setTimeout("update_offline_data(0)", 100);
-
}
cache_expire();
resize_headlines();
+ window.setTimeout("update_offline_data(0)", 100);
+
} catch (e) {
exception_error("init_second_stage", e);
}