diff options
author | Andrew Dolgov <[email protected]> | 2008-05-19 08:37:44 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-05-19 08:37:44 +0100 |
commit | 730dbf19107d42e1a6568ac7057375b9a2e58e9e (patch) | |
tree | f924daca27e77bcaf79ba1052ed3b5cda0411584 /feedlist.js | |
parent | 36cebe0f8da738414e0256f433e9422f25b79605 (diff) |
loading progress bar for main window
Diffstat (limited to 'feedlist.js')
-rw-r--r-- | feedlist.js | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/feedlist.js b/feedlist.js index 3f82993d4..b222c9bdb 100644 --- a/feedlist.js +++ b/feedlist.js @@ -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!"); + } +} |