diff options
author | Ananya Sen | 2012-02-03 17:22:48 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-03 17:22:48 -0800 |
commit | 1daf146c849a0a8dbd2b61b14218c9a39bdee3a7 (patch) | |
tree | af5568f4adac1371ee8b533c34198fb72545e778 /js/components | |
parent | 7618cabe1945acc6392c48f3b57820f67f7973b0 (diff) | |
download | ninja-1daf146c849a0a8dbd2b61b14218c9a39bdee3a7.tar.gz |
added editor tab save while switching code view tabs,
integrated new file dialog with io mediator to open the new file in a new tab
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/components')
-rwxr-xr-x | js/components/layout/document-entry.reel/document-entry.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/components/layout/document-entry.reel/document-entry.js b/js/components/layout/document-entry.reel/document-entry.js index 1431e76f..2a33548a 100755 --- a/js/components/layout/document-entry.reel/document-entry.js +++ b/js/components/layout/document-entry.reel/document-entry.js | |||
@@ -101,7 +101,7 @@ exports.DocumentEntry = Montage.create(Component, { | |||
101 | this.application.ninja.documentController.closeDocument(this._uuid); | 101 | this.application.ninja.documentController.closeDocument(this._uuid); |
102 | } else { | 102 | } else { |
103 | if(!this._document.isActive) { | 103 | if(!this._document.isActive) { |
104 | this.application.ninja.stage.stageView.switchCodeView(this.application.ninja.documentController._findDocumentByUUID(this._uuid)); | 104 | this.application.ninja.stage.stageView.switchDocument(this.application.ninja.documentController._findDocumentByUUID(this._uuid)); |
105 | } | 105 | } |
106 | } | 106 | } |
107 | } | 107 | } |