aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel/ninja.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/ninja.reel/ninja.js')
-rwxr-xr-xjs/ninja.reel/ninja.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js
index 987c32fd..3c60bb41 100755
--- a/js/ninja.reel/ninja.js
+++ b/js/ninja.reel/ninja.js
@@ -306,8 +306,10 @@ exports.Ninja = Montage.create(Component, {
306 // TODO: Remove this when integrating the next montage 306 // TODO: Remove this when integrating the next montage
307 this.documentList.selectedObjects = [doc]; 307 this.documentList.selectedObjects = [doc];
308 308
309 // TODO: Bind directly to the model of the document in components instead of this property 309 if(doc.currentView === "design") {
310 this.currentSelectedContainer = doc.model.documentRoot; 310 // TODO: Bind directly to the model of the document in components instead of this property
311 this.currentSelectedContainer = doc.model.documentRoot;
312 }
311 313
312// if(this.currentDocument.model.documentRoot) { 314// if(this.currentDocument.model.documentRoot) {
313// this.currentSelectedContainer = this.currentDocument.model.documentRoot; 315// this.currentSelectedContainer = this.currentDocument.model.documentRoot;