subtoolbar: remove catchupPage, label confusing with upper toolbar catchup function
This commit is contained in:
parent
a57c814990
commit
3dd0306f3e
2 changed files with 1 additions and 18 deletions
|
@ -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>";
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue