mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:35:55 +00:00
subtoolbar: remove catchupPage, label confusing with upper toolbar catchup function
This commit is contained in:
@@ -133,7 +133,7 @@ class Feeds extends Handler_Protected {
|
|||||||
|
|
||||||
$reply .= "<option value=\"0\" disabled=\"1\">".__('Feed:')."</option>";
|
$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>";
|
$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() {
|
function deleteSelection() {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user