summaryrefslogtreecommitdiff
path: root/js/PrefFeedTree.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/PrefFeedTree.js')
-rw-r--r--js/PrefFeedTree.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/PrefFeedTree.js b/js/PrefFeedTree.js
index 1f1c58f2f..a23624c08 100644
--- a/js/PrefFeedTree.js
+++ b/js/PrefFeedTree.js
@@ -147,6 +147,13 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
return false;
},
+ checkInactiveFeeds: function() {
+ xhrPost("backend.php", {op: "pref-feeds", method: "getinactivefeeds"}, (transport) => {
+ if (parseInt(transport.responseText) > 0) {
+ Element.show(dijit.byId("pref_feeds_inactive_btn").domNode);
+ }
+ });
+ },
getSelectedCategories: function() {
const tree = this;
const items = tree.model.getCheckedItems();