diff options
author | Jose Antonio Marquez | 2012-02-13 15:03:23 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-13 15:03:23 -0800 |
commit | 018a6132d93a73d28bd349122404c236e61cb765 (patch) | |
tree | 3f5c0131842536b11be3890d1656c056fefa0597 /js/controllers | |
parent | 1b84b4549934578caaad38ef14b34cba35e2622a (diff) | |
download | ninja-018a6132d93a73d28bd349122404c236e61cb765.tar.gz |
Save 'code' view files
Added functionality (temp) to save files in code view.
Diffstat (limited to 'js/controllers')
-rwxr-xr-x | js/controllers/document-controller.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js index 227b5462..9f9e4757 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -100,10 +100,10 @@ DocumentController = exports.DocumentController = Montage.create(Component, { | |||
100 | 100 | ||
101 | 101 | ||
102 | //////////////////////////////////////////////////////////////////// | 102 | //////////////////////////////////////////////////////////////////// |
103 | //TODO: Improve logic and make functions | 103 | //TODO: Check for appropiate structures |
104 | handleExecuteSave: { | 104 | handleExecuteSave: { |
105 | value: function(event) { | 105 | value: function(event) { |
106 | // | 106 | //Text and HTML document classes should return the same save object for fileSave |
107 | this.application.ninja.ioMediator.fileSave(this.activeDocument.save()); | 107 | this.application.ninja.ioMediator.fileSave(this.activeDocument.save()); |
108 | } | 108 | } |
109 | }, | 109 | }, |