diff options
author | hwc487 | 2012-05-08 12:05:10 -0700 |
---|---|---|
committer | hwc487 | 2012-05-08 12:05:10 -0700 |
commit | 711c94331ab04bba1d756a30835d376143177820 (patch) | |
tree | 9a7e60d8cc8365220c0969a4f3d373ae146c8ac2 /js/components/layout/bread-crumb.reel/bread-crumb.js | |
parent | 9eeb03e8bb86a4462609d3a18b528daa1516b91c (diff) | |
parent | 53747ce689ddcdc19e586b30d6f356b3b0539731 (diff) | |
download | ninja-711c94331ab04bba1d756a30835d376143177820.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Snapping
Diffstat (limited to 'js/components/layout/bread-crumb.reel/bread-crumb.js')
-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 | }, |