diff options
author | Ananya Sen | 2012-02-06 16:07:46 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-06 16:07:46 -0800 |
commit | 729bc48212d7244539c99ca206be673eed011115 (patch) | |
tree | ac5161b436e302de802cb3d6a152d233d30d7357 /js/io/document/text-document.js | |
parent | 17bda238bc6973832394c0ba8fb08da09557931e (diff) | |
download | ninja-729bc48212d7244539c99ca206be673eed011115.tar.gz |
integrated save for the document tabs, detect codemirror history to show document dirty indicator.
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/io/document/text-document.js')
-rwxr-xr-x | js/io/document/text-document.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/io/document/text-document.js b/js/io/document/text-document.js index 683c513c..7db8e91a 100755 --- a/js/io/document/text-document.js +++ b/js/io/document/text-document.js | |||
@@ -100,6 +100,7 @@ var TextDocument = exports.TextDocument = Montage.create(baseDocumentModule.Base | |||
100 | var codemirrorDiv = this.textArea.parentNode.querySelector(".CodeMirror"); | 100 | var codemirrorDiv = this.textArea.parentNode.querySelector(".CodeMirror"); |
101 | if(!!codemirrorDiv){codemirrorDiv.parentNode.removeChild(codemirrorDiv);} | 101 | if(!!codemirrorDiv){codemirrorDiv.parentNode.removeChild(codemirrorDiv);} |
102 | } | 102 | } |
103 | //console.log("$$$saved : "+this.uri+" : "+this.textArea.value); | ||
103 | //persist to filesystem | 104 | //persist to filesystem |
104 | } | 105 | } |
105 | } | 106 | } |