mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-27 09:21:59 -06:00
webui: allow to update action_state directly
prerequisite for: https://fedorahosted.org/freeipa/ticket/4286 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
74b7c00365
commit
b8059001a5
@ -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();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user