[desktop] for bug 60014

This commit is contained in:
Maxim Kadushkin 2022-12-07 16:54:48 +03:00
parent 3208a4bdf2
commit 7b03f08adc

View file

@ -288,6 +288,7 @@ define([
if ( features.readonly ) { if ( features.readonly ) {
if ( api.asc_getLocalRestrictions() == Asc.c_oAscLocalRestrictionType.None ) { if ( api.asc_getLocalRestrictions() == Asc.c_oAscLocalRestrictionType.None ) {
features.readonly = false; features.readonly = false;
header.setDocumentReadOnly(false);
native.execCommand('webapps:features', JSON.stringify(features)); native.execCommand('webapps:features', JSON.stringify(features));
} }
} }