diff options
author | Valerio Virgillito | 2012-05-22 14:42:43 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-22 14:42:43 -0700 |
commit | 9b6da637d9654727426c6d78f17e3804bbd84ce5 (patch) | |
tree | 84f2d0eeb8af2bbd7325d66114c9cec6397bebcd /js/components | |
parent | 58df45d43614b5364aa84832c7c0aa06a9d086fc (diff) | |
download | ninja-9b6da637d9654727426c6d78f17e3804bbd84ce5.tar.gz |
fixing a few document switching issues.
Signed-off-by: Valerio Virgillito <valerio@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 24c7737c..50b3624c 100755 --- a/js/components/layout/document-entry.reel/document-entry.js +++ b/js/components/layout/document-entry.reel/document-entry.js | |||
@@ -122,7 +122,7 @@ exports.DocumentEntry = Montage.create(Component, { | |||
122 | this.application.ninja.documentController.closeFile(this.application.ninja.documentController._findDocumentByUUID(this._uuid)); | 122 | this.application.ninja.documentController.closeFile(this.application.ninja.documentController._findDocumentByUUID(this._uuid)); |
123 | } else { | 123 | } else { |
124 | if(!this.active) { | 124 | if(!this.active) { |
125 | this.application.ninja.documentController.switchDocuments(this.application.ninja.documentController.activeDocument, this.application.ninja.documentController._findDocumentByUUID(this._uuid)); | 125 | this.application.ninja.documentController.switchDocuments(this.application.ninja.currentDocument, this.application.ninja.documentController._findDocumentByUUID(this._uuid)); |
126 | } | 126 | } |
127 | } | 127 | } |
128 | } | 128 | } |