diff options
author | Ananya Sen | 2012-07-18 12:26:08 -0700 |
---|---|---|
committer | Ananya Sen | 2012-07-18 12:26:08 -0700 |
commit | d799a03a52fbf4eaad4e469fabbf84c9bf2cb41d (patch) | |
tree | 4aa07b2a39bff542c18f91a052c910e8ea55bc3a /js/controllers | |
parent | f40c8c58638da8fcd9a7abb06b8f2a4c6ba995bd (diff) | |
download | ninja-d799a03a52fbf4eaad4e469fabbf84c9bf2cb41d.tar.gz |
parameterize the parentContainer for text document
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/controllers')
-rwxr-xr-x | js/controllers/document-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js index 5020e27d..ee7ca82c 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -356,7 +356,7 @@ exports.DocumentController = Montage.create(Component, { | |||
356 | break; | 356 | break; |
357 | default: | 357 | default: |
358 | //Open in code view | 358 | //Open in code view |
359 | Montage.create(TextDocument).init(file, this.application.ninja, this.application.ninja.openDocument, 'code'); | 359 | Montage.create(TextDocument).init(file, this.application.ninja, this.application.ninja.openDocument, 'code', document.getElementById("codeViewContainer")); |
360 | break; | 360 | break; |
361 | } | 361 | } |
362 | } | 362 | } |