[DE] Check new revisions in fast co-editing mode

This commit is contained in:
Julia Radzhabova 2018-08-16 17:43:06 +03:00
parent 29fb9964ce
commit 31a7a39f11

View file

@ -666,6 +666,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)
this.getApplication().getController('Common.Controllers.ReviewChanges').synchronizeChanges();
if ( type == Asc.c_oAscAsyncActionType.BlockInteraction &&
(!this.getApplication().getController('LeftMenu').dlgSearch || !this.getApplication().getController('LeftMenu').dlgSearch.isVisible()) &&