diff options
author | Andrew Dolgov <[email protected]> | 2016-11-22 09:11:13 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-11-22 09:11:13 +0300 |
commit | f04b12d8e7f5339ffc57f1d0492158571c3921f0 (patch) | |
tree | ccc4dd5c19b89c1bd837beb6e9dbb86b55f84691 | |
parent | e4071d254444a80288c90897ba89b0ae79bb1183 (diff) |
category: swap context menu items
-rw-r--r-- | js/FeedTree.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/FeedTree.js b/js/FeedTree.js index 9239a28a2..dc35619ea 100644 --- a/js/FeedTree.js +++ b/js/FeedTree.js @@ -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); |