aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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;