From 69588c2e4a202f96a0338a51101d886a372a919e Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Tue, 20 Sep 2022 11:42:48 +0300 Subject: [PATCH] [DE mobile] For Bug 59110 --- apps/documenteditor/mobile/src/controller/Main.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/documenteditor/mobile/src/controller/Main.jsx b/apps/documenteditor/mobile/src/controller/Main.jsx index 55a474c7f..f5ace0c51 100644 --- a/apps/documenteditor/mobile/src/controller/Main.jsx +++ b/apps/documenteditor/mobile/src/controller/Main.jsx @@ -220,6 +220,8 @@ class MainController extends Component { if(isExtRestriction) { this.api.asc_addRestriction(Asc.c_oAscRestrictionType.View); + } else { + this.api.asc_setRestriction(Asc.c_oAscRestrictionType.OnlyForms) } this.api.asc_LoadDocument();