aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/controller/array-controller.js
diff options
context:
space:
mode:
authorPushkar Joshi2012-03-12 15:26:10 -0700
committerPushkar Joshi2012-03-12 15:26:10 -0700
commit46b2e561fa6ca054cad58e4c372a598bbb7ee2c9 (patch)
tree38d1c8666098a10078834c1eaac3d455135bee12 /node_modules/montage/ui/controller/array-controller.js
parent7b4b068cadc0af8ec7e930e1c2b429e945f96984 (diff)
parent69d90467865a1384725b2301901be2180c5a841f (diff)
downloadninja-46b2e561fa6ca054cad58e4c372a598bbb7ee2c9.tar.gz
Merge branch 'master' into brushtool
Diffstat (limited to 'node_modules/montage/ui/controller/array-controller.js')
-rwxr-xr-xnode_modules/montage/ui/controller/array-controller.js8
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 },