From: Andrew Dolgov Date: Fri, 5 May 2017 07:35:10 +0000 (+0300) Subject: feedtree, selectFeed: focus selected node X-Git-Tag: 17.12~196 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fa1be041c267ebeca9631c9eddaf5dd07a0604d4;p=tt-rss.git feedtree, selectFeed: focus selected node --- diff --git a/js/FeedTree.js b/js/FeedTree.js index e9388230..84970099 100644 --- a/js/FeedTree.js +++ b/js/FeedTree.js @@ -356,6 +356,7 @@ require(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"] treeNode = treeNode[0]; if (!is_cat) this._expandNode(treeNode); this.set("selectedNodes", [treeNode]); + this.focusNode(treeNode); } }, setFeedIcon: function(feed, is_cat, src) {