diff options
Diffstat (limited to 'js/mediators/io-mediator.js')
-rw-r--r-- | js/mediators/io-mediator.js | 5 |
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 | //////////////////////////////////////////////////////////////////// |