diff options
author | Jose Antonio Marquez | 2012-02-12 16:50:33 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-12 16:50:33 -0800 |
commit | b1fc4f84d92efeaa33ec239b662235c9e8218d0c (patch) | |
tree | 8f8c9aacb3c2a2315b8f44ca4400dfea95e21833 /js/io/system/coreioapi.js | |
parent | 9f2356c48b831d32d7278648656fe44b98bc4a1f (diff) | |
download | ninja-b1fc4f84d92efeaa33ec239b662235c9e8218d0c.tar.gz |
File Save (HTML only)
Added the ability to save an HTML file from design view, need to add CSS detection and saving (of styles in <style> only). Also need to add 'Save All' for all file attached to the HTML file.
Diffstat (limited to 'js/io/system/coreioapi.js')
-rwxr-xr-x | js/io/system/coreioapi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/io/system/coreioapi.js b/js/io/system/coreioapi.js index b19f1e70..614b0850 100755 --- a/js/io/system/coreioapi.js +++ b/js/io/system/coreioapi.js | |||
@@ -450,7 +450,7 @@ window.hack = function (name, type) { | |||
450 | enumerable: false, | 450 | enumerable: false, |
451 | value: function(file) { | 451 | value: function(file) { |
452 | var retValue = { success:null, status:null }; | 452 | var retValue = { success:null, status:null }; |
453 | if(file && file.uri && file.uri.length && file.contents && file.contents.length) { | 453 | if(file && file.uri && file.uri.length && file.contents) { |
454 | try { | 454 | try { |
455 | var serviceURL = this._prepareServiceURL(this.fileServiceURL, file.uri), | 455 | var serviceURL = this._prepareServiceURL(this.fileServiceURL, file.uri), |
456 | xhr = new XMLHttpRequest(); | 456 | xhr = new XMLHttpRequest(); |