feedtree, selectFeed: focus selected node
This commit is contained in:
parent
e35ba0e212
commit
fa1be041c2
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue