diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index f8db0bfe81..5b9bf8bb7c 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -1696,7 +1696,7 @@ define([ this.appOptions.canSaveToFile = this.appOptions.isEdit || this.appOptions.isRestrictedEdit; this.appOptions.showSaveButton = this.appOptions.isEdit || !this.appOptions.isRestrictedEdit && this.appOptions.isPDFForm; // save to file or save to file copy (for pdf-form viewer) - if (this.appOptions.isPDFForm && !this.appOptions.isEdit) { + if (this.appOptions.isPDFForm && !this.appOptions.isEdit && !this.appOptions.isRestrictedEdit) { if (!this.appOptions.isRestrictedEdit && !this.appOptions.canEdit) this.appOptions.canRequestEditRights = false; // if open form in viewer - check permissions.edit option this.appOptions.canFillForms = this.appOptions.isRestrictedEdit = true; // can fill forms in viewer!