Fix Bug 77467

This commit is contained in:
Julia.Radzhabova
2025-10-09 15:10:05 +03:00
parent 61a8109768
commit ffd75eb7a7

View File

@ -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) {