fix bug in refetch_callback

This commit is contained in:
Andrew Dolgov 2005-09-07 08:33:33 +01:00
parent e828e31e83
commit 310da49d2f
1 changed files with 8 additions and 4 deletions

View File

@ -62,11 +62,15 @@ function feedlist_callback() {
function refetch_callback() { function refetch_callback() {
if (xmlhttp_rpc.readyState == 4) { if (xmlhttp_rpc.readyState == 4) {
notify("All feeds updated.");
active_feed_id = frames["feeds-frame"].document.getElementById("ACTFEEDID").innerHTML; var actfeedid = frames["feeds-frame"].document.getElementById("ACTFEEDID");
if (actfeedid) {
active_feed_id = actfeedid.innerHTML;
}
document.title = "Tiny Tiny RSS"; document.title = "Tiny Tiny RSS";
notify("All feeds updated.");
updateFeedList(); updateFeedList();