}
}
} catch (e) {
- exception_error("expandParentNodes", e);
+ exception_error(e);
}
},
findNodeParentsAndExpandThem: function(feed, is_cat, root, parents) {
}
}
} catch (e) {
- exception_error("findNodeParentsAndExpandThem", e);
+ exception_error(e);
}
},
selectFeed: function(feed, is_cat) {
treeNode = treeNode[0];
if (!is_cat) this._expandNode(treeNode);
this.set("selectedNodes", [treeNode]);
+ this.focusNode(treeNode);
+
+ // focus headlines to route key events there
+ setTimeout(function() {
+ $("headlines-frame").focus();
+ }, 0);
}
},
setFeedIcon: function(feed, is_cat, src) {