aboutsummaryrefslogtreecommitdiff
path: root/js/components/combobox.reel
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-01-31 01:54:55 +0800
committerValerio Virgillito2012-02-01 03:12:25 +0800
commit1d8af9fb2be85c33ce6a846f97360ba2ee17ea23 (patch)
tree7aaaf89939eedcf3ea5bfaed4bbfc1e50e6a23be /js/components/combobox.reel
parente4837edab24868a7c093a2a70e8ec3585e1007d8 (diff)
downloadninja-1d8af9fb2be85c33ce6a846f97360ba2ee17ea23.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.js2
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