diff options
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r-- | js/tt-rss.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index 3a0504d55..530cb2931 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -69,25 +69,7 @@ function updateFeedList() { }); var tree = new fox.FeedTree({ - persist: false, model: treeModel, - onOpen: function (item, node) { - var id = String(item.id); - var cat_id = id.substr(id.indexOf(":")+1); - - new Ajax.Request("backend.php", - { parameters: "backend.php?op=feeds&method=collapse&cid=" + - param_escape(cat_id) + "&mode=0" } ); - }, - onClose: function (item, node) { - var id = String(item.id); - var cat_id = id.substr(id.indexOf(":")+1); - - new Ajax.Request("backend.php", - { parameters: "backend.php?op=feeds&method=collapse&cid=" + - param_escape(cat_id) + "&mode=1" } ); - - }, onClick: function (item, node) { var id = String(item.id); var is_cat = id.match("^CAT:"); @@ -119,8 +101,6 @@ function updateFeedList() { dojo.disconnect(tmph); Element.hide("feedlistLoading"); - tree.collapseHiddenCats(); - feedlist_init(); // var node = dijit.byId("feedTree")._itemNodesMap['FEED:-2'][0].domNode |