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) {
treeNode = treeNode[0];
tree._expandNode(treeNode);
if (!is_cat) tree._expandNode(treeNode);
tree._selectNode(treeNode);
}

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

Loading…
Cancel
Save