1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

loading progress bar for main window

This commit is contained in:
Andrew Dolgov
2008-05-19 08:37:44 +01:00
parent 36cebe0f8d
commit 730dbf1910
6 changed files with 68 additions and 5 deletions
+20 -2
View File
@@ -321,20 +321,22 @@ function feedlist_init() {
// if (arguments.callee.done) return;
// arguments.callee.done = true;
loading_set_progress(80);
debug("in feedlist init");
hideOrShowFeeds(document, getInitParam("hide_read_feeds") == 1);
document.onkeydown = hotkey_handler;
setTimeout("timeout()", 0);
debug("about to remove splash, OMG!");
/* debug("about to remove splash, OMG!");
var o = document.getElementById("overlay");
if (o) {
o.style.display = "none";
debug("removed splash!");
}
} */
if (typeof correctPNG != 'undefined') {
correctPNG();
@@ -345,7 +347,10 @@ function feedlist_init() {
setTimeout("viewCurrentFeed()", 100);
} else {
if (getInitParam("cdm_auto_catchup") != 1) {
notify_silent_next();
setTimeout("viewfeed(-3)", 100);
} else {
remove_splash();
}
}
@@ -361,6 +366,8 @@ function feedlist_init() {
init_collapsable_feedlist(getInitParam("theme"));
loading_set_progress(80);
} catch (e) {
exception_error("feedlist/init", e);
}
@@ -453,3 +460,14 @@ function init_collapsable_feedlist(theme) {
}
}
function remove_splash() {
debug("about to remove splash, OMG!");
var o = document.getElementById("overlay");
if (o) {
o.style.display = "none";
debug("removed splash!");
}
}