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

simplify catching up of feeds, do not reload headlines buffer on catchup unless on_catchup_show_next_feed is enabled (closes #442)

This commit is contained in:
Andrew Dolgov
2012-03-29 15:03:48 +04:00
parent d4c64ecc77
commit 442456184c
3 changed files with 41 additions and 79 deletions

View File

@@ -504,34 +504,6 @@ function parse_runtime_info(data) {
}
}
function catchupCurrentFeed() {
var fn = getFeedName(getActiveFeedId(), activeFeedIsCat());
var str = __("Mark all articles in %s as read?").replace("%s", fn);
if (getInitParam("confirm_feed_catchup") != 1 || confirm(str)) {
return viewCurrentFeed('MarkAllRead');
}
}
function catchupFeedInGroup(id) {
try {
var title = getFeedName(id);
var str = __("Mark all articles in %s as read?").replace("%s", title);
if (getInitParam("confirm_feed_catchup") != 1 || confirm(str)) {
return viewCurrentFeed('MarkAllReadGR:' + id);
}
} catch (e) {
exception_error("catchupFeedInGroup", e);
}
}
function collapse_feedlist() {
try {