aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel/ninja.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-30 17:45:38 -0700
committerValerio Virgillito2012-05-30 17:45:38 -0700
commit0a769756547acb93346d8e1b4126931a78845255 (patch)
treec901c0522eb74eb56250d5df591ac14432e76aed /js/ninja.reel/ninja.js
parentcbb888376282c7f6a5151478956b037e71d3b027 (diff)
downloadninja-0a769756547acb93346d8e1b4126931a78845255.tar.gz
opening code view documents
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
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;