aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/document-controller.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js
index dadfaf05..3e15511d 100755
--- a/js/controllers/document-controller.js
+++ b/js/controllers/document-controller.js
@@ -530,6 +530,11 @@ var DocumentController = exports.DocumentController = Montage.create(Component,
530 this.application.ninja.stage.hideCanvas(true); 530 this.application.ninja.stage.hideCanvas(true);
531 this.application.ninja.stage.hideRulers(); 531 this.application.ninja.stage.hideRulers();
532 } 532 }
533 }else if(!currentDocument && newDocument.currentView === "code"){
534 this.application.ninja.stage.showCodeViewBar(true);
535 this.application.ninja.stage.collapseAllPanels();
536 this.application.ninja.stage.hideCanvas(true);
537 this.application.ninja.stage.hideRulers();
533 } 538 }
534 539
535 this.application.ninja.stage.clearAllCanvas(); 540 this.application.ninja.stage.clearAllCanvas();