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,12 +62,16 @@ function feedlist_callback() {
function refetch_callback() {
if (xmlhttp_rpc.readyState == 4) {
var actfeedid = frames["feeds-frame"].document.getElementById("ACTFEEDID");
if (actfeedid) {
active_feed_id = actfeedid.innerHTML;
}
document.title = "Tiny Tiny RSS";
notify("All feeds updated.");
active_feed_id = frames["feeds-frame"].document.getElementById("ACTFEEDID").innerHTML;
document.title = "Tiny Tiny RSS";
updateFeedList();
}