offline: properly collapse Special category
This commit is contained in:
parent
983a6a9c96
commit
ab95d6a545
1 changed files with 10 additions and 1 deletions
11
offline.js
11
offline.js
|
@ -422,7 +422,16 @@ function render_offline_feedlist() {
|
||||||
updateTitle();
|
updateTitle();
|
||||||
|
|
||||||
if (cats_enabled) {
|
if (cats_enabled) {
|
||||||
tmp += printCategoryHeader(-1, getCookie("ttrss_vf_vclps"), false);
|
var rs = db.execute("SELECT collapsed FROM categories WHERE id = -1");
|
||||||
|
var cat_hidden = 0;
|
||||||
|
|
||||||
|
if (rs.isValidRow()) {
|
||||||
|
cat_hidden = rs.field(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
rs.close();
|
||||||
|
|
||||||
|
tmp += printCategoryHeader(-1, cat_hidden, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
tmp += printFeedEntry(-4, __("All articles"), "feed", unread,
|
tmp += printFeedEntry(-4, __("All articles"), "feed", unread,
|
||||||
|
|
Loading…
Reference in a new issue