do not try to load feedlist before receiving init-params

This commit is contained in:
Andrew Dolgov 2012-01-31 16:01:43 +04:00
parent 983702546e
commit 118f41806f
1 changed files with 9 additions and 10 deletions

View File

@ -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");