setTimeout('updateFeedList(false, false)', 50);
}
} else {
- cache_invalidate("FEEDLIST");
- cache_inject("FEEDLIST",
- document.getElementById("feedList").innerHTML,
- getInitParam("num_feeds"));
+ var fl = document.getElementById("feeds-frame").innerHTML;
+ if (fl) {
+ cache_invalidate("FEEDLIST");
+ cache_inject("FEEDLIST", fl, getInitParam("num_feeds"));
+ }
}
} catch (e) {
if (fl) {
render_feedlist(fl);
- request_counters();
+ if (document.getElementById("feedList")) {
+ request_counters();
+ } else {
+ setTimeout('updateFeedList(false, false)', 50);
+ }
} else {
setTimeout('updateFeedList(false, false)', 50);
}