diff options
author | Valerio Virgillito | 2012-05-23 14:11:54 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-23 14:11:54 -0700 |
commit | 6dfd2e7bb01ae4b60845fba858207364aef68f72 (patch) | |
tree | 511e1992e8a856ce2a5b108821c79c87f2a72058 /js/controllers | |
parent | 108764dbdaa0c040de9146c2d722b6e53830cd54 (diff) | |
parent | 26d4cbf0f5c65f60051273f1648a0e8005d8c78a (diff) | |
download | ninja-6dfd2e7bb01ae4b60845fba858207364aef68f72.tar.gz |
Merge pull request #252 from ananyasen/dom-architecture
bug fixes
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 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(); |