From 22a0ae6b20f2607bdeae5764879bb88dae4c9955 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 20 Sep 2018 15:56:20 +0300 Subject: [PATCH] [DE] Bug 38520 (Check new revisions in fast co-editing mode after save) --- apps/documenteditor/main/app/controller/Main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 6ef4210d5..f5bc4d2a6 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -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 &&