1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 05:31:52 +00:00

various category/feed id clash fixes

This commit is contained in:
Andrew Dolgov
2006-08-01 13:53:41 +01:00
parent c0ea08b0be
commit 767e248647
4 changed files with 16 additions and 14 deletions

View File

@@ -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") {