aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/ninja.reel')
-rwxr-xr-xjs/ninja.reel/ninja.html2
-rwxr-xr-xjs/ninja.reel/ninja.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/js/ninja.reel/ninja.html b/js/ninja.reel/ninja.html
index 33c3080f..a98fca60 100755
--- a/js/ninja.reel/ninja.html
+++ b/js/ninja.reel/ninja.html
@@ -246,7 +246,7 @@
246 "element":{"#" : "breadCrumbComponent"} 246 "element":{"#" : "breadCrumbComponent"}
247 }, 247 },
248 "bindings" : { 248 "bindings" : {
249 "container": {"<<->": "@owner.currentSelectedContainer"}, 249 "container": {"<-": "@owner.currentSelectedContainer"},
250 "currentDocument": {"<-": "@documentList.selectedObjects.0"} 250 "currentDocument": {"<-": "@documentList.selectedObjects.0"}
251 } 251 }
252 }, 252 },
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js
index ac883923..a12270a0 100755
--- a/js/ninja.reel/ninja.js
+++ b/js/ninja.reel/ninja.js
@@ -292,6 +292,7 @@ exports.Ninja = Montage.create(Component, {
292 292
293 if(doc.currentView === "design") { 293 if(doc.currentView === "design") {
294 // TODO: Bind directly to the model of the document in components instead of this property 294 // TODO: Bind directly to the model of the document in components instead of this property
295 this._currentSelectedContainer = null;
295 this.currentSelectedContainer = doc.model.documentRoot; 296 this.currentSelectedContainer = doc.model.documentRoot;
296 } 297 }
297 } 298 }