diff options
author | Jose Antonio Marquez | 2012-02-05 22:48:26 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-05 22:48:26 -0800 |
commit | 17bda238bc6973832394c0ba8fb08da09557931e (patch) | |
tree | 4f703c7d30f01cf4cc24ba8737cab4e1beca7d38 /js/io/document/text-document.js | |
parent | 20803c71179bcffeaeaba4375bd06155d21dafe6 (diff) | |
parent | 62a5cad735a87d584272c6d4bf67328f2d4fa456 (diff) | |
download | ninja-17bda238bc6973832394c0ba8fb08da09557931e.tar.gz |
Merge branch 'refs/heads/AnanyaFileIO' into FileIO
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 a768779f..683c513c 100755 --- a/js/io/document/text-document.js +++ b/js/io/document/text-document.js | |||
@@ -95,6 +95,7 @@ var TextDocument = exports.TextDocument = Montage.create(baseDocumentModule.Base | |||
95 | save:{ | 95 | save:{ |
96 | value:function(removeCodeMirrorDivFlag){ | 96 | value:function(removeCodeMirrorDivFlag){ |
97 | this.editor.save(); | 97 | this.editor.save(); |
98 | this.dirtyFlag=false; | ||
98 | if(removeCodeMirrorDivFlag === true){ | 99 | if(removeCodeMirrorDivFlag === true){ |
99 | var codemirrorDiv = this.textArea.parentNode.querySelector(".CodeMirror"); | 100 | var codemirrorDiv = this.textArea.parentNode.querySelector(".CodeMirror"); |
100 | if(!!codemirrorDiv){codemirrorDiv.parentNode.removeChild(codemirrorDiv);} | 101 | if(!!codemirrorDiv){codemirrorDiv.parentNode.removeChild(codemirrorDiv);} |