1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 22:45:56 +00:00

better feedlist reloading on subscribed feeds count change

This commit is contained in:
Andrew Dolgov
2010-11-23 13:03:36 +03:00
parent 4a529b592a
commit 8cd576a12a
4 changed files with 24 additions and 38 deletions

View File

@@ -1129,7 +1129,8 @@ function unsubscribeFeed(feed_id, title) {
if (inPreferences()) {
updateFeedList();
} else {
dlg_frefresh_callback(transport, feed_id);
if (feed_id == getActiveFeedId())
setTimeout("viewfeed(-5)", 100);
}
} });
@@ -1469,12 +1470,7 @@ function editFeed(feed, event) {
parameters: dojo.objectToQuery(dialog.attr('value')),
onComplete: function(transport) {
dialog.hide();
if (inPreferences()) {
updateFeedList();
} else {
notify('');
dlg_frefresh_callback(transport);
}
updateFeedList();
}})
}
},
@@ -1540,8 +1536,6 @@ function feedBrowser() {
if (inPreferences()) {
updateFeedList();
} else {
setTimeout('updateFeedList(false, false)', 50);
}
} });