]> git.wh0rd.org Git - tt-rss.git/commitdiff
re-enable setting of include_children button on startup
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 14 Aug 2012 15:25:10 +0000 (19:25 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 14 Aug 2012 15:25:10 +0000 (19:25 +0400)
js/tt-rss.js

index ba4a2bca230e641c4d22c5129335e4b77b5a11a0..76869c11b86d16489a679547d4f106554eebb2f5 100644 (file)
@@ -1,7 +1,7 @@
 var total_unread = 0;
 var global_unread = -1;
 var firsttime_update = true;
-var _active_feed_id = 0;
+var _active_feed_id = undefined;
 var _active_feed_is_cat = false;
 var hotkey_prefix = false;
 var hotkey_prefix_pressed = false;
@@ -359,8 +359,8 @@ function init_second_stage() {
                if (getInitParam("enable_feed_cats") == 0)
                        Element.hide(dijit.byId("include_children").domNode);
 
-//             dijit.byId("include_children").attr("checked",
-//                     getInitParam("default_include_children"));
+               dijit.byId("include_children").attr("checked",
+                       getInitParam("default_include_children"));
 
                feeds_sort_by_unread = getInitParam("feeds_sort_by_unread") == 1;