aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorAnanya Sen2012-07-18 12:26:08 -0700
committerAnanya Sen2012-07-18 12:26:08 -0700
commitd799a03a52fbf4eaad4e469fabbf84c9bf2cb41d (patch)
tree4aa07b2a39bff542c18f91a052c910e8ea55bc3a /js/controllers
parentf40c8c58638da8fcd9a7abb06b8f2a4c6ba995bd (diff)
downloadninja-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-xjs/controllers/document-controller.js2
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 }