mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-25 01:51:28 +00:00
support browsing of NULL category, assorted related fixes
This commit is contained in:
@@ -114,7 +114,7 @@ function viewfeed(feed, skip, subop, doc, is_cat) {
|
||||
if (cat_view_mode) {
|
||||
query = query + "&cat=1";
|
||||
}
|
||||
|
||||
|
||||
var headlines_frame = parent.frames["headlines-frame"];
|
||||
|
||||
// alert(headlines_frame)
|
||||
@@ -125,6 +125,8 @@ function viewfeed(feed, skip, subop, doc, is_cat) {
|
||||
query = query + "&ts=" + timestamp
|
||||
}
|
||||
|
||||
parent.debug(query);
|
||||
|
||||
headlines_frame.location.href = query;
|
||||
|
||||
cleanSelectedList("feedList");
|
||||
@@ -192,7 +194,7 @@ function toggleCollapseCat(cat) {
|
||||
|
||||
var cat_elem = document.getElementById("FCAT-" + cat);
|
||||
var cat_list = document.getElementById("FCATLIST-" + cat).parentNode;
|
||||
var caption = cat_elem.lastChild;
|
||||
var caption = document.getElementById("FCAP-" + cat);
|
||||
|
||||
if (cat_list.className.match("invisible")) {
|
||||
cat_list.className = "";
|
||||
|
||||
Reference in New Issue
Block a user