[DE mobile] For Bug 59110

This commit is contained in:
SergeyEzhin 2022-09-20 11:42:48 +03:00
parent 4fca1bcb94
commit 69588c2e4a

View file

@ -220,6 +220,8 @@ class MainController extends Component {
if(isExtRestriction) { if(isExtRestriction) {
this.api.asc_addRestriction(Asc.c_oAscRestrictionType.View); this.api.asc_addRestriction(Asc.c_oAscRestrictionType.View);
} else {
this.api.asc_setRestriction(Asc.c_oAscRestrictionType.OnlyForms)
} }
this.api.asc_LoadDocument(); this.api.asc_LoadDocument();