aboutsummaryrefslogtreecommitdiff
path: root/js/document/models/text.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/document/models/text.js')
-rwxr-xr-xjs/document/models/text.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/models/text.js b/js/document/models/text.js
index d1252b7d..0135b9ba 100755
--- a/js/document/models/text.js
+++ b/js/document/models/text.js
@@ -22,7 +22,7 @@ exports.TextDocumentModel = Montage.create(BaseDocumentModel, {
22 save: { 22 save: {
23 enumerable: false, 23 enumerable: false,
24 value: function (callback) { 24 value: function (callback) {
25 this.application.ninja.documentController.activeDocument.model.views.code.editor.save();//save to textarea 25 this.application.ninja.currentDocument.model.views.code.editor.save();//save to textarea
26 26
27 var self = this; 27 var self = this;
28 28