From 018a6132d93a73d28bd349122404c236e61cb765 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Mon, 13 Feb 2012 15:03:23 -0800 Subject: Save 'code' view files Added functionality (temp) to save files in code view. --- js/controllers/document-controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/controllers') 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, { //////////////////////////////////////////////////////////////////// - //TODO: Improve logic and make functions + //TODO: Check for appropiate structures handleExecuteSave: { value: function(event) { - // + //Text and HTML document classes should return the same save object for fileSave this.application.ninja.ioMediator.fileSave(this.activeDocument.save()); } }, -- cgit v1.2.3