diff options
Diffstat (limited to 'js/controllers')
-rwxr-xr-x | js/controllers/document-controller.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js index 7758f346..afddaa19 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -524,6 +524,11 @@ var DocumentController = exports.DocumentController = Montage.create(Component, | |||
524 | this.application.ninja.stage.hideCanvas(true); | 524 | this.application.ninja.stage.hideCanvas(true); |
525 | this.application.ninja.stage.hideRulers(); | 525 | this.application.ninja.stage.hideRulers(); |
526 | } | 526 | } |
527 | }else if(!currentDocument && newDocument.currentView === "code"){ | ||
528 | this.application.ninja.stage.showCodeViewBar(true); | ||
529 | this.application.ninja.stage.collapseAllPanels(); | ||
530 | this.application.ninja.stage.hideCanvas(true); | ||
531 | this.application.ninja.stage.hideRulers(); | ||
527 | } | 532 | } |
528 | 533 | ||
529 | this.application.ninja.stage.clearAllCanvas(); | 534 | this.application.ninja.stage.clearAllCanvas(); |