From: Andrew Dolgov Date: Tue, 31 Jan 2012 12:01:43 +0000 (+0400) Subject: do not try to load feedlist before receiving init-params X-Git-Tag: 1.5.10~16 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=118f41806fec499475659c7af53d75b6b87ab887;p=tt-rss.git do not try to load feedlist before receiving init-params --- diff --git a/js/tt-rss.js b/js/tt-rss.js index 2cee8ae3..5804ee50 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -283,16 +283,6 @@ function init() { dojo.parser.parse(); - dojo.addOnLoad(function() { - updateFeedList(); - closeArticlePanel(); - - if (typeof themeAfterLayout == 'function') { - themeAfterLayout(); - } - - }); - if (!genericSanityCheck()) return false; @@ -314,6 +304,15 @@ function init() { function init_second_stage() { try { + dojo.addOnLoad(function() { + updateFeedList(); + closeArticlePanel(); + + if (typeof themeAfterLayout == 'function') { + themeAfterLayout(); + } + + }); delCookie("ttrss_test");