summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-08-01 13:53:41 +0100
committerAndrew Dolgov <[email protected]>2006-08-01 13:53:41 +0100
commit767e2486475e4e3e5e6604980f339c6f154b11f4 (patch)
tree748fa6de83c1c0b271a5212a61836fe44513ff17 /feedlist.js
parentc0ea08b0beafdeb0b17781d296cf6ea188227fa9 (diff)
various category/feed id clash fixes
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/feedlist.js b/feedlist.js
index 7729da921..4795b16ef 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -2,10 +2,10 @@ var xmlhttp = Ajax.getTransport();
function viewCategory(cat) {
getMainContext().active_feed_is_cat = true;
- viewfeed(cat, 0, '', false, true);
+ viewfeed(cat, '', true);
}
-function viewfeed(feed, skip, subop, doc, is_cat, subop_param) {
+function viewfeed(feed, subop, is_cat, subop_param) {
try {
enableHotkeys();
@@ -40,7 +40,7 @@ function viewfeed(feed, skip, subop, doc, is_cat, subop_param) {
parent.closeInfoBox(true);
}
- debug("CVMODE: " + activeFeedIsCat());
+ debug("IS_CAT_STORED: " + activeFeedIsCat() + ", IS_CAT: " + is_cat);
var fe = document.getElementById("FEEDR-" + getActiveFeedId());
@@ -50,7 +50,9 @@ function viewfeed(feed, skip, subop, doc, is_cat, subop_param) {
setActiveFeedId(feed);
- getMainContext().active_feed_is_cat = is_cat;
+ if (is_cat != undefined) {
+ getMainContext().active_feed_is_cat = is_cat;
+ }
if (subop == "MarkAllRead") {