feedlist: do not expand category on click

master
Andrew Dolgov 14 years ago
parent 2ef5c21f61
commit 7923cfe97c

@ -916,7 +916,7 @@ function selectFeed(feed, is_cat) {
if (treeNode) { if (treeNode) {
treeNode = treeNode[0]; treeNode = treeNode[0];
tree._expandNode(treeNode); if (!is_cat) tree._expandNode(treeNode);
tree._selectNode(treeNode); tree._selectNode(treeNode);
} }

@ -316,7 +316,9 @@ function init() {
var is_cat = id.match("^CAT:"); var is_cat = id.match("^CAT:");
var feed = id.substr(id.indexOf(":")+1); var feed = id.substr(id.indexOf(":")+1);
viewfeed(feed, '', is_cat); viewfeed(feed, '', is_cat);
return false;
}, },
openOnClick: false,
showRoot: false, showRoot: false,
}, "feedTree"); }, "feedTree");

Loading…
Cancel
Save