1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:45:55 +00:00

embed some pref-feed helper functions into the tree

This commit is contained in:
Andrew Dolgov
2018-12-02 11:50:53 +03:00
parent 2e985d1733
commit 60cd467694
4 changed files with 215 additions and 224 deletions

View File

@@ -38,7 +38,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/f
return (!item || this.model.mayHaveChildren(item)) ? (opened ? "dijitFolderOpened" : "dijitFolderClosed") : "invisible";
},
getSelectedLabels: function() {
const tree = dijit.byId("labelTree");
const tree = this;
const items = tree.model.getCheckedItems();
const rv = [];