aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/document-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controllers/document-controller.js')
-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 4be0767a..6d11bd0e 100755
--- a/js/controllers/document-controller.js
+++ b/js/controllers/document-controller.js
@@ -483,11 +483,16 @@ var DocumentController = exports.DocumentController = Montage.create(Component,
483 483
484 if(!this.webTemplate) { 484 if(!this.webTemplate) {
485 this._showCurrentDocument(); 485 this._showCurrentDocument();
486 } else {
487 this.application.ninja.stage.stageView.showRulers();
486 } 488 }
487 489
488 this.webTemplate = false; 490 this.webTemplate = false;
489 491
490 NJevent("onOpenDocument", doc); 492 NJevent("onOpenDocument", doc);
493
494 this.application.ninja.stage.stageView.showCodeViewBar(false);
495 this.application.ninja.stage.stageView.restoreAllPanels();
491 } 496 }
492 }, 497 },
493 498