]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.js
fix name display in catchup prompt in category view mode
[tt-rss.git] / tt-rss.js
index 538e3203cb31ae75a9ae816d05d850b593a902f3..164e7ea2885398df76fbec33132f8be3d07d16c2 100644 (file)
--- 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')
        }
 }