aboutsummaryrefslogtreecommitdiff
path: root/js/components/layout
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-08 12:00:51 -0700
committerValerio Virgillito2012-05-08 12:00:51 -0700
commitcb9e4b68b307f3bbc898fd482eb2668120cd4d18 (patch)
tree8d27fd93d7a7350f74b7085012be51e27b27bf55 /js/components/layout
parent7cdf8b969bf932ddf0604855abe106ef635f901b (diff)
parent53747ce689ddcdc19e586b30d6f356b3b0539731 (diff)
downloadninja-cb9e4b68b307f3bbc898fd482eb2668120cd4d18.tar.gz
Merge branch 'refs/heads/master' into dom-architecture
Diffstat (limited to 'js/components/layout')
-rwxr-xr-xjs/components/layout/bread-crumb.reel/bread-crumb.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/components/layout/bread-crumb.reel/bread-crumb.js b/js/components/layout/bread-crumb.reel/bread-crumb.js
index e396bdbf..c1b021a3 100755
--- a/js/components/layout/bread-crumb.reel/bread-crumb.js
+++ b/js/components/layout/bread-crumb.reel/bread-crumb.js
@@ -23,7 +23,7 @@ exports.Breadcrumb = Montage.create(Component, {
23 value: function(){ 23 value: function(){
24 if(!this.application.ninja.documentController.activeDocument) { 24 if(!this.application.ninja.documentController.activeDocument) {
25 this.disabled = true; 25 this.disabled = true;
26 this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.documentRoot; 26 this.application.ninja.currentSelectedContainer = (this.application.ninja.currentDocument ? this.application.ninja.currentDocument.documentRoot : null);
27 } 27 }
28 } 28 }
29 }, 29 },