W.I.P. collab editor:

- Fix minor bugs caught by scrutinizer
This commit is contained in:
Hadi Nategh
2016-08-19 17:59:44 +02:00
parent a8268adfb5
commit fcff069f45
3 changed files with 22 additions and 7 deletions

View File

@@ -233,7 +233,7 @@ app.classes.filemanager = app.classes.filemanager.extend({
success: function(data) {
egw(window).message(egw.lang('Document %1 successfully has been saved.', filename[1]));
self.editor.setDocumentModified(false);
egw.json('filemanager.filemanager_collab.ajax_actions',[self.editor_getFilePath(), 'save']).sendRequest();
egw.json('filemanager.filemanager_collab.ajax_actions',[self.collab_server.es_id, 'save']).sendRequest();
},
error: function () {},
data: blob,