diff options
author | Nivesh Rajbhandari | 2012-01-31 01:54:55 +0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-02 14:52:47 -0800 |
commit | c7b5089b6cea5304cd94e3f25a760919748abfef (patch) | |
tree | 7aaaf89939eedcf3ea5bfaed4bbfc1e50e6a23be /js/components/combobox.reel/combobox.js | |
parent | e4837edab24868a7c093a2a70e8ec3585e1007d8 (diff) | |
download | ninja-c7b5089b6cea5304cd94e3f25a760919748abfef.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/combobox.js')
-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 | ||