diff options
author | Andrew Dolgov <[email protected]> | 2006-08-01 13:57:34 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-08-01 13:57:34 +0100 |
commit | ec6e2fd35ba0955249060973c5ce246c8cbc27e1 (patch) | |
tree | 44ba5dde8e56d071585734f1e59df8f1b27f5529 /tt-rss.js | |
parent | 767e2486475e4e3e5e6604980f339c6f154b11f4 (diff) |
null category fixes
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -207,7 +207,7 @@ function updateFeedList(silent, fetch) { query_str = query_str + "&tags=1"; } - if (getActiveFeedId()) { + if (getActiveFeedId() != undefined) { query_str = query_str + "&actid=" + getActiveFeedId(); } @@ -241,11 +241,12 @@ function catchupAllFeeds() { function viewCurrentFeed(subop) { - if (getActiveFeedId()) { +// if (getActiveFeedId()) { + if (getActiveFeedId() != undefined) { viewfeed(getActiveFeedId(), subop); } else { disableContainerChildren("headlinesToolbar", false, document); - viewfeed(-1, subop); // FIXME +// viewfeed(-1, subop); // FIXME } return false; // block unneeded form submits } @@ -446,7 +447,7 @@ function quickMenuGo(opid) { if (opid == "qmcRemoveFeed") { var actid = getActiveFeedId(); - if (!actid) { + if (actid == undefined) { alert("Please select some feed first."); return; } |