Fix in state change handling and reporting

https://fedorahosted.org/freeipa/ticket/3236
This commit is contained in:
Petr Vobornik
2013-03-27 16:01:25 +01:00
parent 0df5297d2b
commit 1adad5573b

View File

@@ -248,7 +248,7 @@ IPA.facet = function(spec, no_init) {
break;
}
} else {
if (va !== vb) {
if (va != vb) {
same = false;
skip[a] = true;
break;
@@ -2449,7 +2449,7 @@ var FacetState = declare([Stateful, Evented], {
this._updating = true;
this.clear();
this.set(object);
delete this.updating;
delete this._updating;
var new_state = this.clone();
this.emit('set', old_state, new_state);
return this;