diff options
author | Nivesh Rajbhandari | 2012-04-09 16:05:16 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-04-09 16:05:16 -0700 |
commit | 36df4f454d64c7b43062835495425021ce955b05 (patch) | |
tree | 9ebbe37bf22cb5280882a0ef5b95196fcf163251 /js/document/text-document.js | |
parent | 952e0b2c28af081041fa8987c3e865b931d052fa (diff) | |
parent | bd43ce383b050d03b0f92cc923c517febc66ca28 (diff) | |
download | ninja-36df4f454d64c7b43062835495425021ce955b05.tar.gz |
Merge branch 'refs/heads/ninja-internal' into AllFixes
Diffstat (limited to 'js/document/text-document.js')
-rwxr-xr-x | js/document/text-document.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/js/document/text-document.js b/js/document/text-document.js index 54a53999..2574b67c 100755 --- a/js/document/text-document.js +++ b/js/document/text-document.js | |||
@@ -164,11 +164,7 @@ var TextDocument = exports.TextDocument = Montage.create(Component, { | |||
164 | needsSave: { | 164 | needsSave: { |
165 | get: function() { return this._needsSave; }, | 165 | get: function() { return this._needsSave; }, |
166 | set: function(value) { | 166 | set: function(value) { |
167 | var i=0, canSaveAll=false; | ||
168 | this._needsSave = value; | 167 | this._needsSave = value; |
169 | |||
170 | this.application.ninja.documentController.canSave = value;//for save menu state update | ||
171 | this.application.ninja.documentController.canSaveAll = value;//for save menu state update..currently save all is tried to the current document only | ||
172 | } | 168 | } |
173 | }, | 169 | }, |
174 | 170 | ||