1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 11:55:56 +00:00

fix name display in catchup prompt in category view mode

This commit is contained in:
Andrew Dolgov
2006-08-01 05:59:21 +01:00
parent d6e5706d7e
commit 234e467cad
3 changed files with 18 additions and 5 deletions

View File

@@ -559,9 +559,15 @@ function parse_runtime_info(elem) {
function catchupCurrentFeed() {
var fn = getFeedName(getActiveFeedId());
var fn = getFeedName(getActiveFeedId(), active_feed_is_cat);
if (confirm("Mark all articles in " + fn + " as read?")) {
var str = "Mark all articles in " + fn + " as read?";
/* if (active_feed_is_cat) {
str = "Mark all articles in this category as read?";
} */
if (confirm(str)) {
return viewCurrentFeed(0, 'MarkAllRead')
}
}