diff options
author | Nivesh Rajbhandari | 2012-05-23 16:09:45 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-23 16:09:45 -0700 |
commit | d874b959bc297fed31d3ef3c2a7c8c77df88f761 (patch) | |
tree | d36a0b464aed1f3ff91c81df3aaf52df72451472 /js/components/layout | |
parent | f97590388467b5a3316f6f155162fc293915fddc (diff) | |
parent | 0ca1910df1c78116139664bf39a95cf0ec7c8dc8 (diff) | |
download | ninja-d874b959bc297fed31d3ef3c2a7c8c77df88f761.tar.gz |
Merge branch 'refs/heads/dom-architecture-master' into Dom-Architecture
Diffstat (limited to 'js/components/layout')
-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 d2a6b1e4..aaefd923 100755 --- a/js/components/layout/bread-crumb.reel/bread-crumb.js +++ b/js/components/layout/bread-crumb.reel/bread-crumb.js | |||
@@ -21,7 +21,7 @@ exports.Breadcrumb = Montage.create(Component, { | |||
21 | 21 | ||
22 | handleCloseDocument: { | 22 | handleCloseDocument: { |
23 | value: function(){ | 23 | value: function(){ |
24 | if(!this.application.ninja.documentController.activeDocument) { | 24 | if(!this.application.ninja.documentController.activeDocument && this.application.ninja.currentDocument.currentView !== "code") { |
25 | this.disabled = true; | 25 | this.disabled = true; |
26 | this.application.ninja.currentSelectedContainer = (this.application.ninja.currentDocument ? this.application.ninja.currentDocument.documentRoot : null); | 26 | this.application.ninja.currentSelectedContainer = (this.application.ninja.currentDocument ? this.application.ninja.currentDocument.documentRoot : null); |
27 | } | 27 | } |