aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/select-input.reel/select-input.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-04-20 10:44:02 -0700
committerJose Antonio Marquez2012-04-20 10:44:02 -0700
commit0b7848540a7ca84b7c67821fedc275cf243eff2f (patch)
treea26b2986d412a02eb93fc7fa1b0f495cab40e757 /node_modules/montage/ui/select-input.reel/select-input.js
parent154d1a8fdbbe050dbfc97cd13baa8981d8fc1e47 (diff)
parent8a546291a9d0de3bda1a7765ae9008f2ad052bba (diff)
downloadninja-0b7848540a7ca84b7c67821fedc275cf243eff2f.tar.gz
Merge branch 'refs/heads/Ninja-Internal' into FileIO
Diffstat (limited to 'node_modules/montage/ui/select-input.reel/select-input.js')
-rw-r--r--node_modules/montage/ui/select-input.reel/select-input.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/node_modules/montage/ui/select-input.reel/select-input.js b/node_modules/montage/ui/select-input.reel/select-input.js
index 98902cfb..220c3814 100644
--- a/node_modules/montage/ui/select-input.reel/select-input.js
+++ b/node_modules/montage/ui/select-input.reel/select-input.js
@@ -21,7 +21,10 @@ var SelectInput = exports.SelectInput = Montage.create(NativeControl, {
21 _selectedIndexes: { 21 _selectedIndexes: {
22 set: function(value) { 22 set: function(value) {
23 this.__selectedIndexes = value; 23 this.__selectedIndexes = value;
24 this.needsDraw = this._synching || !this._fromInput; 24 if(this.needsDraw === false) {
25 this.needsDraw = this._synching || !this._fromInput;
26 }
27
25 }, 28 },
26 get: function() { 29 get: function() {
27 return this.__selectedIndexes; 30 return this.__selectedIndexes;
@@ -218,7 +221,7 @@ var SelectInput = exports.SelectInput = Montage.create(NativeControl, {
218 } 221 }
219 this._fromInput = true; 222 this._fromInput = true;
220 this.contentController.selectedIndexes = selectedIndexes; 223 this.contentController.selectedIndexes = selectedIndexes;
221 224
222 } 225 }
223 } 226 }
224 227