diff --git a/src/core/OptionsManager.js b/src/core/OptionsManager.js index 64e7a10c..1db0443e 100644 --- a/src/core/OptionsManager.js +++ b/src/core/OptionsManager.js @@ -78,7 +78,7 @@ define(function(require, exports, module) { if ((k in myState) && (data[k] && data[k].constructor === Object) && (myState[k] && myState[k].constructor === Object)) { if (!myState.hasOwnProperty(k)) myState[k] = Object.create(myState[k]); this.key(k).patch(data[k]); - if (this.eventOutput) this.eventOutput.emit('change', {id: k, value: this.key(k).value()}); + if (this.eventOutput) this.eventOutput.emit('change', {id: k, value: this.key(k)._value}); } else this.set(k, data[k]); }