hide read categories when feedtree category is first expanded
This commit is contained in:
parent
bc25394c79
commit
077f221337
|
@ -200,6 +200,9 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
|
||||||
},
|
},
|
||||||
postCreate: function() {
|
postCreate: function() {
|
||||||
this.connect(this.model, "onChange", "updateCounter");
|
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);
|
this.inherited(arguments);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue