From f04b12d8e7f5339ffc57f1d0492158571c3921f0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 22 Nov 2016 09:11:13 +0300 Subject: [PATCH] category: swap context menu items --- js/FeedTree.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/FeedTree.js b/js/FeedTree.js index 9239a28a..dc35619e 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); -- 2.39.5