summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-08-01 05:59:21 +0100
committerAndrew Dolgov <[email protected]>2006-08-01 05:59:21 +0100
commit234e467cad708a98044cdcd647466e48feb9835b (patch)
tree89fc744929c47b17cbe1097e75c1cc931c161126 /tt-rss.js
parentd6e5706d7e127c747a9ff4dd092676fadf616af3 (diff)
fix name display in catchup prompt in category view mode
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 538e3203c..164e7ea28 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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')
}
}