menu.row_id = bare_id;
menu.addChild(new dijit.MenuItem({
- label: __("(Un)collapse"),
+ label: __("Mark as read"),
onClick: function() {
- dijit.byId("feedTree").collapseCat(this.getParent().row_id);
+ catchupFeed(this.getParent().row_id, true);
}}));
menu.addChild(new dijit.MenuItem({
- label: __("Mark as read"),
+ label: __("(Un)collapse"),
onClick: function() {
- catchupFeed(this.getParent().row_id, true);
+ dijit.byId("feedTree").collapseCat(this.getParent().row_id);
}}));
menu.bindDomNode(tnode.domNode);