summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-18 10:32:45 +0100
committerAndrew Dolgov <[email protected]>2009-01-18 10:32:45 +0100
commit810b15613569fcc92b40ada16b32d90f840e2d8a (patch)
treea6e48dc255dc01997eb4981c20fb61723651899d /tt-rss.js
parentbb81a1f367d189f6dcc6f05ccb9971a7600f0054 (diff)
block unsubscribe requests for virtual feeds
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 7c5f8e086..8dda27720 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -562,6 +562,11 @@ function quickMenuGo(opid) {
return;
}
+ if (actid <= 0) {
+ alert(__("You can't unsubscribe from this kind of feed."));
+ return;
+ }
+
if (!actid) {
alert(__("Please select some feed first."));
return;