summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-31 15:39:10 +0400
committerAndrew Dolgov <[email protected]>2013-03-31 15:39:10 +0400
commit3dd0306f3e288c8091b851ec427d94d421debe08 (patch)
treef0de0353d3ee5e66223e0a1bed8275a7dd8c764a
parenta57c814990c75aea84997c327091a7a98dcac044 (diff)
subtoolbar: remove catchupPage, label confusing with upper toolbar catchup function
-rw-r--r--classes/feeds.php2
-rw-r--r--js/viewfeed.js17
2 files changed, 1 insertions, 18 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index 2b00b848d..0b46155cf 100644
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -133,7 +133,7 @@ class Feeds extends Handler_Protected {
$reply .= "<option value=\"0\" disabled=\"1\">".__('Feed:')."</option>";
- $reply .= "<option value=\"catchupPage()\">".__('Mark as read')."</option>";
+ //$reply .= "<option value=\"catchupPage()\">".__('Mark as read')."</option>";
$reply .= "<option value=\"displayDlg('generatedFeed', '$feed_id:$is_cat:$rss_link')\">".__('View as RSS')."</option>";
diff --git a/js/viewfeed.js b/js/viewfeed.js
index 664eba393..27d0c01b4 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 {