From 648ee61ae84216d0236e0dbc211addc13b2cfa3a Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 11:52:06 -0700 Subject: Expand tabs --- js/components/combobox.reel/combobox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/components/combobox.reel') diff --git a/js/components/combobox.reel/combobox.js b/js/components/combobox.reel/combobox.js index 4effc686..0d46e1ff 100755 --- a/js/components/combobox.reel/combobox.js +++ b/js/components/combobox.reel/combobox.js @@ -153,12 +153,12 @@ exports.Combobox = Montage.create(Component, { handleChange: { value:function(event) - { + { this._valueSyncedWithInputField = true; this._wasSetByCode = false; this.value = this.element.value; this.needsDraw = true; - } + } }, willDraw: { -- cgit v1.2.3 From 04343eda8c2f870b0da55cfdc8003c99fe1cc4de Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 11:53:10 -0700 Subject: Remove trailing spaces --- js/components/combobox.reel/combobox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/components/combobox.reel') diff --git a/js/components/combobox.reel/combobox.js b/js/components/combobox.reel/combobox.js index 0d46e1ff..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, { } } }, - + _value: { enumerable: false, value: null @@ -166,7 +166,7 @@ exports.Combobox = Montage.create(Component, { if(!this._valueSyncedWithInputField) { this.element.innerHTML = ""; - + var optionItem = document.createElement("option"); var items = this._items; var len = items.length; -- cgit v1.2.3 From 40c6eb2c06b34f65a74d59ef9687251952858bab Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 12:47:27 -0700 Subject: Normalize HTML doctype --- js/components/combobox.reel/combobox.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/components/combobox.reel') 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 @@ - +