From 7b03f08adc78864cf3966ae91f3a6e3788676f32 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Wed, 7 Dec 2022 16:54:48 +0300 Subject: [PATCH] [desktop] for bug 60014 --- apps/common/main/lib/controller/Desktop.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/common/main/lib/controller/Desktop.js b/apps/common/main/lib/controller/Desktop.js index e8cedc783..b3803aefb 100644 --- a/apps/common/main/lib/controller/Desktop.js +++ b/apps/common/main/lib/controller/Desktop.js @@ -288,6 +288,7 @@ define([ if ( features.readonly ) { if ( api.asc_getLocalRestrictions() == Asc.c_oAscLocalRestrictionType.None ) { features.readonly = false; + header.setDocumentReadOnly(false); native.execCommand('webapps:features', JSON.stringify(features)); } }