From 5c365f6055ffe61ddcc5f2e306499945e34ddf09 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 1 Aug 2006 14:18:05 +0100 Subject: fix various cat-related bugs --- tt-rss.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tt-rss.js') diff --git a/tt-rss.js b/tt-rss.js index ec356e0ba..8e988ff26 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -207,7 +207,7 @@ function updateFeedList(silent, fetch) { query_str = query_str + "&tags=1"; } - if (getActiveFeedId() != undefined) { + if (getActiveFeedId() && !activeFeedIsCat()) { query_str = query_str + "&actid=" + getActiveFeedId(); } @@ -447,7 +447,7 @@ function quickMenuGo(opid) { if (opid == "qmcRemoveFeed") { var actid = getActiveFeedId(); - if (actid == undefined) { + if (!actid || activeFeedIsCat()) { alert("Please select some feed first."); return; } -- cgit v1.2.3-54-g00ecf