confirm page catchup (closes #134)

This commit is contained in:
Andrew Dolgov 2007-08-08 14:17:30 +01:00
parent 1f8361c435
commit 8a5b4579fa
1 changed files with 8 additions and 0 deletions

View File

@ -647,6 +647,14 @@ function cdmSelectArticles(mode) {
function catchupPage() {
var fn = getFeedName(getActiveFeedId(), active_feed_is_cat);
var str = "Mark all visible articles in " + fn + " as read?";
if (getInitParam("confirm_feed_catchup") == 1 && !confirm(str)) {
return;
}
if (document.getElementById("headlinesList")) {
selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', true, 'Unread', true);
selectionToggleUnread(false, false, 'viewCurrentFeed()', true);