diff options
author | Ananya Sen | 2012-05-21 16:42:26 -0700 |
---|---|---|
committer | Ananya Sen | 2012-05-21 16:42:26 -0700 |
commit | 2cc8e58f6bb9f64a7473e62aecd013fa55167231 (patch) | |
tree | 4969012e500a27c72cf59c0a631990c6b9a1c333 /js/document/models | |
parent | c3c2ffc8d057660b7c42b45442885cd0d2d598bc (diff) | |
download | ninja-2cc8e58f6bb9f64a7473e62aecd013fa55167231.tar.gz |
- added opening multiple code and design view documents
- switching between multiple code and design view documents
- Note: closing of documents, when multiple documents are open, is not yet implemented
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/document/models')
-rwxr-xr-x | js/document/models/text.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/document/models/text.js b/js/document/models/text.js index fe02953c..d1252b7d 100755 --- a/js/document/models/text.js +++ b/js/document/models/text.js | |||
@@ -60,8 +60,8 @@ exports.TextDocumentModel = Montage.create(BaseDocumentModel, { | |||
60 | } | 60 | } |
61 | // | 61 | // |
62 | this.parentContainer.removeChild(this.views.code.textViewContainer); | 62 | this.parentContainer.removeChild(this.views.code.textViewContainer); |
63 | this.views.code.restoreAllPanels(); | 63 | this.application.ninja.stage.showCodeViewBar(false); |
64 | this.views.code.showCodeViewBar(false); | 64 | this.application.ninja.stage.restoreAllPanels(); |
65 | this.views.code = null; | 65 | this.views.code = null; |
66 | 66 | ||
67 | // | 67 | // |