From 810b15613569fcc92b40ada16b32d90f840e2d8a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 18 Jan 2009 10:32:45 +0100 Subject: block unsubscribe requests for virtual feeds --- tt-rss.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tt-rss.js') 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; -- cgit v1.2.3