From 442456184c23b8da36d6f9e0ac098d4a57c17659 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 29 Mar 2012 15:03:48 +0400 Subject: simplify catching up of feeds, do not reload headlines buffer on catchup unless on_catchup_show_next_feed is enabled (closes #442) --- js/tt-rss.js | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'js/tt-rss.js') diff --git a/js/tt-rss.js b/js/tt-rss.js index 5804ee501..ef5d72e5b 100644 --- a/js/tt-rss.js +++ b/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 { -- cgit v1.2.3-54-g00ecf