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:
28
js/tt-rss.js
28
js/tt-rss.js
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user