aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/text-document.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/document/text-document.js b/js/document/text-document.js
index 6f8efaad..f74742ad 100755
--- a/js/document/text-document.js
+++ b/js/document/text-document.js
@@ -191,5 +191,17 @@ var TextDocument = exports.TextDocument = Montage.create(Montage, {
191 value: function() { 191 value: function() {
192 // Have the XHR here? 192 // Have the XHR here?
193 } 193 }
194 },
195
196 markDocumentEditted:{
197 value: function() {
198 this.dirtyFlag = true;
199 }
200 },
201
202 markDocumentUneditted:{
203 value: function() {
204 this.dirtyFlag = false;
205 }
194 } 206 }
195}); \ No newline at end of file 207}); \ No newline at end of file