Commit f04b12d8 authored by Andrew Dolgov's avatar Andrew Dolgov

category: swap context menu items

parent e4071d25
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment