diff options
author | Pushkar Joshi | 2012-03-12 15:26:10 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-03-12 15:26:10 -0700 |
commit | 46b2e561fa6ca054cad58e4c372a598bbb7ee2c9 (patch) | |
tree | 38d1c8666098a10078834c1eaac3d455135bee12 /node_modules/montage/ui/controller/array-controller.js | |
parent | 7b4b068cadc0af8ec7e930e1c2b429e945f96984 (diff) | |
parent | 69d90467865a1384725b2301901be2180c5a841f (diff) | |
download | ninja-46b2e561fa6ca054cad58e4c372a598bbb7ee2c9.tar.gz |
Merge branch 'master' into brushtool
Diffstat (limited to 'node_modules/montage/ui/controller/array-controller.js')
-rwxr-xr-x | node_modules/montage/ui/controller/array-controller.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/node_modules/montage/ui/controller/array-controller.js b/node_modules/montage/ui/controller/array-controller.js index 868ae5de..f355efc1 100755 --- a/node_modules/montage/ui/controller/array-controller.js +++ b/node_modules/montage/ui/controller/array-controller.js | |||
@@ -519,9 +519,11 @@ var ArrayController = exports.ArrayController = Montage.create(ObjectController, | |||
519 | return null; | 519 | return null; |
520 | } | 520 | } |
521 | 521 | ||
522 | this._selectedObjects = this.content.filter(function(value, i) { | 522 | if(this.content) { |
523 | return this._selectedContentIndexes.indexOf(i) >= 0; | 523 | this._selectedObjects = this.content.filter(function(value, i) { |
524 | }, this); | 524 | return this._selectedContentIndexes.indexOf(i) >= 0; |
525 | }, this); | ||
526 | } | ||
525 | 527 | ||
526 | return this._selectedObjects; | 528 | return this._selectedObjects; |
527 | }, | 529 | }, |