summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-07-18 03:46:27 +0100
committerAndrew Dolgov <[email protected]>2006-07-18 03:46:27 +0100
commitfce2483891be61631f7941e577f4ecd9f2d2bc0e (patch)
tree3043f5668aadd9d0b293016a865881efd5022cb0 /tt-rss.js
parentfe6c1902f1b861591236e3f6f6ba3ae9948ddf6e (diff)
add confirmation to Mark as read action (closes #96)
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index fb4248ba9..0a17c14c3 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -555,3 +555,12 @@ function parse_runtime_info(elem) {
param = param.nextSibling;
}
}
+
+function catchupCurrentFeed() {
+
+ var fn = getFeedName(getActiveFeedId());
+
+ if (confirm("Mark all articles in " + fn + " as read?")) {
+ return viewCurrentFeed(0, 'MarkAllRead')
+ }
+}