diff options
author | Valerio Virgillito | 2012-05-16 20:49:40 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-16 20:49:40 -0700 |
commit | b1e5ef1949eeddc39a1e9570a65612879cbdadef (patch) | |
tree | c26cab2707e7600730e869fbc315662ef518bcb8 /js | |
parent | 9d001ec773c9568e9f825468631013fc9b20eb7e (diff) | |
download | ninja-b1e5ef1949eeddc39a1e9570a65612879cbdadef.tar.gz |
clearing the needs save flag on save.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js')
-rwxr-xr-x | js/controllers/document-controller.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js index 1e894f02..ecb988ff 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -177,6 +177,8 @@ var DocumentController = exports.DocumentController = Montage.create(Component, | |||
177 | testCallback: { | 177 | testCallback: { |
178 | value: function (value) { | 178 | value: function (value) { |
179 | console.log(value); | 179 | console.log(value); |
180 | //TODO: Move this to the model.save() | ||
181 | this.activeDocument.model.needsSave = false; | ||
180 | } | 182 | } |
181 | }, | 183 | }, |
182 | //////////////////////////////////////////////////////////////////// | 184 | //////////////////////////////////////////////////////////////////// |