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

hide read categories when feedtree category is first expanded

This commit is contained in:
Andrew Dolgov
2013-05-15 12:40:51 +04:00
parent bc25394c79
commit 077f221337

View File

@@ -200,6 +200,9 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
},
postCreate: function() {
this.connect(this.model, "onChange", "updateCounter");
this.connect(this, "_expandNode", function() {
this.hideRead(getInitParam("hide_read_feeds"), getInitParam("hide_read_shows_special"));
});
this.inherited(arguments);
},