1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:35:56 +00:00

unify child category counter display; remove include_children control

This commit is contained in:
Andrew Dolgov
2012-10-11 12:46:33 +04:00
parent daf0b0142d
commit 0ef32f48b2
6 changed files with 4 additions and 74 deletions

View File

@@ -41,10 +41,6 @@ function setActiveFeedId(id, is_cat) {
}
selectFeed(id, is_cat);
dijit.byId("include_children").attr("disabled", !(is_cat && id > 0));
} catch (e) {
exception_error("setActiveFeedId", e);
}
@@ -355,13 +351,6 @@ function init_second_stage() {
dijit.getEnclosingWidget(toolbar.order_by).attr('value',
getInitParam("default_view_order_by"));
if (getInitParam("enable_feed_cats") == 0)
Element.hide(dijit.byId("include_children").domNode);
dijit.byId("include_children").attr("checked",
getInitParam("default_include_children"));
feeds_sort_by_unread = getInitParam("feeds_sort_by_unread") == 1;
loading_set_progress(30);