diff options
author | Jose Antonio Marquez | 2012-05-08 17:34:04 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-08 17:34:04 -0700 |
commit | ef1daccfad5381badd53b9d045c2687f9b0e090d (patch) | |
tree | 1eaf6ce286968cd8fe6b16e5991597ae16084658 /js/components | |
parent | a1e8540f5656e62db6a89f3af7829be6b259b7ed (diff) | |
parent | d55b7418119c380241f6a2788ff8c84fcd44e143 (diff) | |
download | ninja-ef1daccfad5381badd53b9d045c2687f9b0e090d.tar.gz |
Merge branch 'refs/heads/Ninja-DOM-Architecture' into Document
Diffstat (limited to 'js/components')
-rwxr-xr-x | js/components/layout/bread-crumb.reel/bread-crumb.js | 2 |
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 | }, |