diff options
author | Nivesh Rajbhandari | 2012-04-18 13:49:26 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-04-18 13:49:26 -0700 |
commit | e6bdea62cff68837239c1be579926693c1aa7bdf (patch) | |
tree | bddf63c8b1fc493ec64aca642b8887321674bb16 /node_modules/montage/ui/select-input.reel/select-input.js | |
parent | 7b3ef287f248c07602aefa3ba2cc907e0d16493a (diff) | |
parent | 2e04af953463643791f6362bd8ef4c6ba190abfa (diff) | |
download | ninja-e6bdea62cff68837239c1be579926693c1aa7bdf.tar.gz |
Merge branch 'refs/heads/ninja-internal' into EricMerge
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.js | 7 |
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 | ||