fix reloading of current feed if unread counter changed on scheduled refetch

master
Andrew Dolgov 18 years ago
parent 33b8cab44f
commit 5b06472138

@ -541,8 +541,10 @@ function parse_counters(reply, scheduled_call) {
if (feedctr && feedu && feedr) { if (feedctr && feedu && feedr) {
if (feedu.innerHTML != ctr && id == getActiveFeedId() && scheduled_call) { if (feedu.innerHTML != ctr && id == getActiveFeedId() && scheduled_call) {
var hf = title_obj.parent.frames["headlines-frame"]; // var hf = title_obj.parent.frames["headlines-frame"];
hf.location.reload(true); // hf.location.reload(true);
viewCurrentFeed();
} }
feedu.innerHTML = ctr; feedu.innerHTML = ctr;

Loading…
Cancel
Save