From c8712e6bc9b5b63fbfca08a0989ea05948f2f4a4 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Mon, 13 Feb 2012 17:06:30 -0800 Subject: Fixing multiple tabs Fixed broken code to allow for multiple tabs to open. --- js/controllers/document-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, { var code = Montage.create(TextDocument, {"source": {value: doc.content}}), docuuid = Uuid.generate(), textArea; textArea = this.application.ninja.stage.stageView.createTextAreaElement(docuuid); code.initialize(doc, docuuid, textArea, textArea.parentNode); - code.init(doc.name, doc.uri, doc.extension, null, docuuid); + //code.init(doc.name, doc.uri, doc.extension, null, docuuid); code.textArea.value = doc.content; this.application.ninja.stage.stageView.createTextView(code); break; -- cgit v1.2.3