diff --git a/install/ui/src/freeipa/facet.js b/install/ui/src/freeipa/facet.js index 46cf5d735..9c3c6f2bd 100644 --- a/install/ui/src/freeipa/facet.js +++ b/install/ui/src/freeipa/facet.js @@ -2808,9 +2808,16 @@ exp.state = IPA.state = function(spec) { that.on_eval_changed = function() { var evaluator = this; + that.put(evaluator.name, evaluator.state); + }; - that.state.put(evaluator.name, evaluator.state); - + /** + * Set state and notify + * @param {string} name + * @param {string} state + */ + that.put = function(name, state) { + that.state.put(name, state); that.notify(); };