diff options
author | Ananya Sen | 2012-02-13 17:08:03 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-13 17:08:03 -0800 |
commit | 021dc7f835065a062e65b3325f9b45c5a271cbcf (patch) | |
tree | 2d1b1a50f3b159852983e853e0b5479af87fdf95 /js/controllers/document-controller.js | |
parent | b58dafe332fb57210f3d059a518a3d183c222631 (diff) | |
parent | c8712e6bc9b5b63fbfca08a0989ea05948f2f4a4 (diff) | |
download | ninja-021dc7f835065a062e65b3325f9b45c5a271cbcf.tar.gz |
Merge branch 'FileIO' of github.com:joseeight/ninja-internal into FileIO
Diffstat (limited to 'js/controllers/document-controller.js')
-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 b80dfe56..b066a9c2 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -187,7 +187,7 @@ DocumentController = exports.DocumentController = Montage.create(Component, { | |||
187 | var code = Montage.create(TextDocument, {"source": {value: doc.content}}), docuuid = Uuid.generate(), textArea; | 187 | var code = Montage.create(TextDocument, {"source": {value: doc.content}}), docuuid = Uuid.generate(), textArea; |
188 | textArea = this.application.ninja.stage.stageView.createTextAreaElement(docuuid); | 188 | textArea = this.application.ninja.stage.stageView.createTextAreaElement(docuuid); |
189 | code.initialize(doc, docuuid, textArea, textArea.parentNode); | 189 | code.initialize(doc, docuuid, textArea, textArea.parentNode); |
190 | code.init(doc.name, doc.uri, doc.extension, null, docuuid); | 190 | //code.init(doc.name, doc.uri, doc.extension, null, docuuid); |
191 | code.textArea.value = doc.content; | 191 | code.textArea.value = doc.content; |
192 | this.application.ninja.stage.stageView.createTextView(code); | 192 | this.application.ninja.stage.stageView.createTextView(code); |
193 | break; | 193 | break; |