diff options
Diffstat (limited to 'js/io/document/text-document.js')
-rwxr-xr-x | js/io/document/text-document.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/io/document/text-document.js b/js/io/document/text-document.js index 599d311c..a9081cb5 100755 --- a/js/io/document/text-document.js +++ b/js/io/document/text-document.js | |||
@@ -45,10 +45,10 @@ var TextDocument = exports.TextDocument = Montage.create(baseDocumentModule.Base | |||
45 | // PUBLIC METHODS | 45 | // PUBLIC METHODS |
46 | initialize: { | 46 | initialize: { |
47 | value: function(doc, uuid, textArea, callback) { | 47 | value: function(doc, uuid, textArea, callback) { |
48 | this.init(doc.name, doc.uri, doc.type, textArea, uuid); | 48 | this.init(doc.name, doc.uri, doc.type, textArea, uuid, null, doc.externalUri); |
49 | |||
50 | this.currentView = "code"; | 49 | this.currentView = "code"; |
51 | this.textArea = textArea; | 50 | this.textArea = textArea; |
51 | |||
52 | // this._loadContent(); | 52 | // this._loadContent(); |
53 | } | 53 | } |
54 | }, | 54 | }, |