From 0ebc7ee662dce4a0654bb0286bedb9573d7edade Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 2 Feb 2021 22:20:13 +0300 Subject: [PATCH] [PE mobile][SSE mobile] Bug 47922 --- apps/presentationeditor/mobile/app/controller/Main.js | 2 ++ apps/spreadsheeteditor/mobile/app/controller/Main.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/apps/presentationeditor/mobile/app/controller/Main.js b/apps/presentationeditor/mobile/app/controller/Main.js index fdd5896eb..f59399248 100644 --- a/apps/presentationeditor/mobile/app/controller/Main.js +++ b/apps/presentationeditor/mobile/app/controller/Main.js @@ -544,6 +544,8 @@ define([ if (me.appOptions.isEdit && me.appOptions.canLicense && !me.appOptions.isOffline && me.appOptions.canCoAuthoring) { // Force ON fast co-authoring mode me._state.fastCoauth = true; + } else if (!me.appOptions.isEdit && me.appOptions.isRestrictedEdit) { + me._state.fastCoauth = true; } else { me._state.fastCoauth = false; } diff --git a/apps/spreadsheeteditor/mobile/app/controller/Main.js b/apps/spreadsheeteditor/mobile/app/controller/Main.js index 43789958a..deed12cae 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Main.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Main.js @@ -550,6 +550,8 @@ define([ if (this.appOptions.isEdit && this.appOptions.canLicense && !this.appOptions.isOffline && this.appOptions.canCoAuthoring) { // Force ON fast co-authoring mode me._state.fastCoauth = true; + } else if (!this.appOptions.isEdit && this.appOptions.isRestrictedEdit) { + this._state.fastCoauth = true; } else this._state.fastCoauth = false; this.api.asc_SetFastCollaborative(this._state.fastCoauth);