feedtree, selectFeed: focus selected node

This commit is contained in:
Andrew Dolgov 2017-05-05 10:35:10 +03:00
parent e35ba0e212
commit fa1be041c2
1 changed files with 1 additions and 0 deletions

View File

@ -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) {