From 3dd0306f3e288c8091b851ec427d94d421debe08 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 31 Mar 2013 15:39:10 +0400 Subject: [PATCH] subtoolbar: remove catchupPage, label confusing with upper toolbar catchup function --- classes/feeds.php | 2 +- js/viewfeed.js | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/classes/feeds.php b/classes/feeds.php index 2b00b848..0b46155c 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -133,7 +133,7 @@ class Feeds extends Handler_Protected { $reply .= ""; - $reply .= ""; + //$reply .= ""; $reply .= ""; diff --git a/js/viewfeed.js b/js/viewfeed.js index 664eba39..27d0c01b 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -941,23 +941,6 @@ function selectArticles(mode) { } } -function catchupPage() { - - var fn = getFeedName(getActiveFeedId(), activeFeedIsCat()); - - var str = __("Mark all visible articles in %s as read?"); - - str = str.replace("%s", fn); - - if (getInitParam("confirm_feed_catchup") == 1 && !confirm(str)) { - return; - } - - selectArticles('all'); - selectionToggleUnread(false, 'viewCurrentFeed()', true); - selectArticles('none'); -} - function deleteSelection() { try { -- 2.39.2