1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 23:15:55 +00:00

feedtree, selectFeed: focus selected node

This commit is contained in:
Andrew Dolgov
2017-05-05 10:35:10 +03:00
parent e35ba0e212
commit fa1be041c2

View File

@@ -356,6 +356,7 @@ require(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"]
treeNode = treeNode[0]; treeNode = treeNode[0];
if (!is_cat) this._expandNode(treeNode); if (!is_cat) this._expandNode(treeNode);
this.set("selectedNodes", [treeNode]); this.set("selectedNodes", [treeNode]);
this.focusNode(treeNode);
} }
}, },
setFeedIcon: function(feed, is_cat, src) { setFeedIcon: function(feed, is_cat, src) {