mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
Fix Bug 77467
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user