diff options
author | Valerio Virgillito | 2012-06-01 16:19:04 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-01 16:19:04 -0700 |
commit | 75fc82ce49d6f1eb05dc950b46292d42b5856005 (patch) | |
tree | 8e8fd7a8f7e0eeb5b3b07322a45f1a9e070d9c3e /js/ninja.reel | |
parent | 8433fa5ed0d4cc91e10b7080aa8edb8d94ccc1a4 (diff) | |
download | ninja-75fc82ce49d6f1eb05dc950b46292d42b5856005.tar.gz |
fixing some selection container changes and the breadcrumb not drawing initially
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/ninja.reel')
-rwxr-xr-x | js/ninja.reel/ninja.html | 2 | ||||
-rwxr-xr-x | js/ninja.reel/ninja.js | 1 |
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 | } |