aboutsummaryrefslogtreecommitdiff
path: root/js/mediators/io-mediator.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-13 22:43:48 -0800
committerJose Antonio Marquez2012-02-13 22:43:48 -0800
commitef5142d5426309bca6b4ef0aeee437e3ebe838fc (patch)
tree937245a734a3eef972187dc8fdd1d01ecde64f42 /js/mediators/io-mediator.js
parent5b6c62b7164cbde2845a3f7af810568e5ba53a6a (diff)
parent91822817e23f43aa61e901867369a33d7db1964c (diff)
downloadninja-ef5142d5426309bca6b4ef0aeee437e3ebe838fc.tar.gz
Merge branch 'refs/heads/AnanyaFileIO' into FileIO
Diffstat (limited to 'js/mediators/io-mediator.js')
-rw-r--r--js/mediators/io-mediator.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js
index 47069cfb..95e775a0 100644
--- a/js/mediators/io-mediator.js
+++ b/js/mediators/io-mediator.js
@@ -154,7 +154,10 @@ exports.IoMediator = Montage.create(Component, {
154 break; 154 break;
155 } 155 }
156 // 156 //
157 save = this.fio.saveFile({uri: file.document.uri, contents: contents}) 157 save = this.fio.saveFile({uri: file.document.uri, contents: contents});
158 if(save.status === 204){
159 callback();
160 }
158 } 161 }
159 }, 162 },
160 //////////////////////////////////////////////////////////////////// 163 ////////////////////////////////////////////////////////////////////