1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:25:54 +00:00

sorta-kinda fix the feedlist

This commit is contained in:
Andrew Dolgov
2012-08-13 18:56:55 +04:00
parent 2a060a9456
commit 2ecd2df560
4 changed files with 134 additions and 340 deletions

View File

@@ -61,12 +61,12 @@ function updateFeedList() {
}
var store = new dojo.data.ItemFileWriteStore({
url: "backend.php?op=feeds"});
url: "backend.php?op=pref_feeds&method=getfeedtree&mode=2"});
var treeModel = new fox.FeedStoreModel({
store: store,
query: {
"type": "feed"
"type": init_params['enable_feed_cats'] == 1 ? "category" : "feed"
},
rootId: "root",
rootLabel: "Feeds",
@@ -105,6 +105,8 @@ function updateFeedList() {
id: "feedTree",
}, "feedTree");
_force_scheduled_update = true;
/* var menu = new dijit.Menu({id: 'feedMenu'});
menu.addChild(new dijit.MenuItem({