aboutsummaryrefslogtreecommitdiff
path: root/js/components/combobox.reel/combobox.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/combobox.reel/combobox.js')
-rwxr-xr-xjs/components/combobox.reel/combobox.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/components/combobox.reel/combobox.js b/js/components/combobox.reel/combobox.js
index 4effc686..f923e30c 100755
--- a/js/components/combobox.reel/combobox.js
+++ b/js/components/combobox.reel/combobox.js
@@ -80,7 +80,7 @@ exports.Combobox = Montage.create(Component, {
80 } 80 }
81 } 81 }
82 }, 82 },
83 83
84 _value: { 84 _value: {
85 enumerable: false, 85 enumerable: false,
86 value: null 86 value: null
@@ -153,12 +153,12 @@ exports.Combobox = Montage.create(Component, {
153 handleChange: 153 handleChange:
154 { 154 {
155 value:function(event) 155 value:function(event)
156 { 156 {
157 this._valueSyncedWithInputField = true; 157 this._valueSyncedWithInputField = true;
158 this._wasSetByCode = false; 158 this._wasSetByCode = false;
159 this.value = this.element.value; 159 this.value = this.element.value;
160 this.needsDraw = true; 160 this.needsDraw = true;
161 } 161 }
162 }, 162 },
163 163
164 willDraw: { 164 willDraw: {
@@ -166,7 +166,7 @@ exports.Combobox = Montage.create(Component, {
166 if(!this._valueSyncedWithInputField) 166 if(!this._valueSyncedWithInputField)
167 { 167 {
168 this.element.innerHTML = ""; 168 this.element.innerHTML = "";
169 169
170 var optionItem = document.createElement("option"); 170 var optionItem = document.createElement("option");
171 var items = this._items; 171 var items = this._items;
172 var len = items.length; 172 var len = items.length;