category: swap context menu items

master
Andrew Dolgov 8 years ago
parent e4071d2544
commit f04b12d8e7

@ -157,15 +157,15 @@ require(["dojo/_base/declare", "dijit/Tree", "dijit/Menu"], function (declare) {
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);

Loading…
Cancel
Save