subtoolbar: remove catchupPage, label confusing with upper toolbar catchup function

This commit is contained in:
Andrew Dolgov 2013-03-31 15:39:10 +04:00
parent a57c814990
commit 3dd0306f3e
2 changed files with 1 additions and 18 deletions

View file

@ -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>";

View file

@ -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 {