diff options
author | Nivesh Rajbhandari | 2012-01-31 01:54:55 +0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-01 15:08:30 -0800 |
commit | f3678107282813836ee3d9271e484546bdd5a4b7 (patch) | |
tree | f1825367f6f37fe3274447fde06c56f9563695ac /js/components/combobox.reel | |
parent | 73b50a4b79bb55170ef585919709bc5ad6244697 (diff) | |
download | ninja-f3678107282813836ee3d9271e484546bdd5a4b7.tar.gz |
Checkbox and Combobox change/changing events were not setting wasSetByCode property correctly, causing our PI to dispatch events at improper times.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/components/combobox.reel')
-rw-r--r-- | js/components/combobox.reel/combobox.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/components/combobox.reel/combobox.js b/js/components/combobox.reel/combobox.js index f262bb06..a68a7d6b 100644 --- a/js/components/combobox.reel/combobox.js +++ b/js/components/combobox.reel/combobox.js | |||
@@ -67,7 +67,7 @@ exports.Combobox = Montage.create(Component, { | |||
67 | var e = document.createEvent("CustomEvent"); | 67 | var e = document.createEvent("CustomEvent"); |
68 | e.initEvent("change", true, true); | 68 | e.initEvent("change", true, true); |
69 | e.type = "change"; | 69 | e.type = "change"; |
70 | e._wasSetByCode = this._wasSetByCode; | 70 | e.wasSetByCode = this._wasSetByCode; |
71 | e.value = this._value; | 71 | e.value = this._value; |
72 | this.dispatchEvent(e); | 72 | this.dispatchEvent(e); |
73 | 73 | ||