diff options
Diffstat (limited to 'js/PrefFeedTree.js')
-rw-r--r-- | js/PrefFeedTree.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/PrefFeedTree.js b/js/PrefFeedTree.js index 013c01262..0585173c9 100644 --- a/js/PrefFeedTree.js +++ b/js/PrefFeedTree.js @@ -5,6 +5,16 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dojo/_b function (declare, domConstruct, checkBoxTree, array, cookie) { return declare("fox.PrefFeedTree", lib.CheckBoxTree, { + postCreate: function() { + this.inherited(arguments); + + const tmph = dojo.connect(this, 'onLoad', () => { + dojo.disconnect(tmph); + + this.checkInactiveFeeds(); + this.checkErrorFeeds(); + }); + }, // save state in localStorage instead of cookies // reference: https://stackoverflow.com/a/27968996 _saveExpandedNodes: function(){ |