]> git.wh0rd.org Git - tt-rss.git/commitdiff
feedtree, selectFeed: focus selected node
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 5 May 2017 07:35:10 +0000 (10:35 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 5 May 2017 07:35:10 +0000 (10:35 +0300)
js/FeedTree.js

index e93882304e823e89cd7172abbec816fee1193c4e..84970099202a0b32a42976dc3e16e25a250b924c 100644 (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) {