aboutsummaryrefslogtreecommitdiff
path: root/js/components/combobox.reel/combobox.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-01-30 09:54:55 -0800
committerNivesh Rajbhandari2012-01-30 09:54:55 -0800
commit7e0c709b4f0557d0f8fd6da8a47dc26172513cc8 (patch)
tree27d2bdb80b722a846d1435f40f04e57cd6a85ea1 /js/components/combobox.reel/combobox.js
parenta53d4ef4d26d5c4c8e5f4859f8fd3e95ccce8c3b (diff)
downloadninja-7e0c709b4f0557d0f8fd6da8a47dc26172513cc8.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.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