[DE] Bug 38520 (Check new revisions in fast co-editing mode after save)

This commit is contained in:
Julia Radzhabova 2018-09-20 15:56:20 +03:00 committed by Alexey Golubev
parent 21c219e92b
commit 22a0ae6b20

View file

@ -667,7 +667,8 @@ define([
if (this.appOptions.isEdit && (id==Asc.c_oAscAsyncAction['Save'] || id==Asc.c_oAscAsyncAction['ForceSaveButton']) && (!this._state.fastCoauth || this._state.usersCount<2 ||
this.getApplication().getController('Common.Controllers.ReviewChanges').isPreviewChangesMode()))
this.synchronizeChanges();
else if (this.appOptions.isEdit && id == Asc.c_oAscAsyncAction['ApplyChanges'] && this._state.fastCoauth)
else if (this.appOptions.isEdit && (id==Asc.c_oAscAsyncAction['Save'] || id==Asc.c_oAscAsyncAction['ForceSaveButton'] || id == Asc.c_oAscAsyncAction['ApplyChanges']) &&
this._state.fastCoauth)
this.getApplication().getController('Common.Controllers.ReviewChanges').synchronizeChanges();
if ( type == Asc.c_oAscAsyncActionType.BlockInteraction &&