aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/select-input.reel/select-input.js
diff options
context:
space:
mode:
authorEric Guzman2012-04-23 11:55:55 -0700
committerEric Guzman2012-04-23 11:55:55 -0700
commitcdd1189e349e2974681e2c451e861e5b0db570e4 (patch)
treed8823c3d050e011032c563d20c1a5f61e67ae740 /node_modules/montage/ui/select-input.reel/select-input.js
parentc0fce534c255ef1e25779e2f0e8de95bb4e160cf (diff)
parent5a0331fc26fcc2cdc6200086109e34440a2dec6a (diff)
downloadninja-cdd1189e349e2974681e2c451e861e5b0db570e4.tar.gz
Merge branch 'refs/heads/master' into CSSPanelUpdates
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