From ffd75eb7a7e737956c20918b7e836f70a275b6e6 Mon Sep 17 00:00:00 2001 From: "Julia.Radzhabova" Date: Thu, 9 Oct 2025 15:10:05 +0300 Subject: [PATCH] Fix Bug 77467 --- apps/documenteditor/main/app/controller/DocProtection.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/documenteditor/main/app/controller/DocProtection.js b/apps/documenteditor/main/app/controller/DocProtection.js index e1484a4aed..e200661461 100644 --- a/apps/documenteditor/main/app/controller/DocProtection.js +++ b/apps/documenteditor/main/app/controller/DocProtection.js @@ -285,6 +285,8 @@ define([ }, applyRestrictions: function(type) { + if (this.appConfig.isPDFForm && this.api.asc_isFinal()) return; + if (type === Asc.c_oAscEDocProtect.ReadOnly) { this.api.asc_setRestriction(Asc.c_oAscRestrictionType.View); } else if (type === Asc.c_oAscEDocProtect.Comments) {