aboutsummaryrefslogtreecommitdiff
path: root/js/components/combobox.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/combobox.reel')
-rwxr-xr-xjs/components/combobox.reel/combobox.html2
-rwxr-xr-xjs/components/combobox.reel/combobox.js8
2 files changed, 5 insertions, 5 deletions
diff --git a/js/components/combobox.reel/combobox.html b/js/components/combobox.reel/combobox.html
index 35818f16..f998a5e8 100755
--- a/js/components/combobox.reel/combobox.html
+++ b/js/components/combobox.reel/combobox.html
@@ -1,4 +1,4 @@
1<!DOCTYPE html> 1<!doctype html>
2<!-- <copyright> 2<!-- <copyright>
3Copyright (c) 2012, Motorola Mobility, Inc 3Copyright (c) 2012, Motorola Mobility, Inc
4All Rights Reserved. 4All Rights Reserved.
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;