summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-02-27 15:34:13 +0400
committerAndrew Dolgov <[email protected]>2013-02-27 15:34:13 +0400
commit88918ca637d5e5d22a687ddd70ea04675577448a (patch)
tree1cbefb1262b0e258974f5511840f0711c360414b /js/tt-rss.js
parent65713fdf4cd1c376fa8780270bc78c3821ca7184 (diff)
remove server-side feedtree collapse implementation
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js20
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