mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 16:02:46 +08:00
Merge branch release/v7.5.0 into master
This commit is contained in:
@ -1130,14 +1130,14 @@ define([
|
||||
this.appOptions.canCreateNew = this.appOptions.canCreateNew && !this.appOptions.isOffline;
|
||||
this.appOptions.isCrypted = this.api.asc_isCrypto();
|
||||
this.appOptions.canRequestEditRights = this.editorConfig.canRequestEditRights;
|
||||
this.appOptions.canSwitchMode = !isXpsViewer && false; // switch between View/pdf comments/pdf edit
|
||||
this.appOptions.canEdit = !isXpsViewer;
|
||||
this.appOptions.isEdit = !isXpsViewer;
|
||||
this.appOptions.canPDFEdit = false;//(this.permissions.edit !== false) && this.appOptions.canLicense;
|
||||
this.appOptions.isPDFEdit = false; // this.appOptions.canPDFEdit && this.editorConfig.mode !== 'view'; !! always open in view mode
|
||||
this.appOptions.canPDFAnnotate = this.appOptions.canLicense && (this.permissions.comment!== false);
|
||||
this.appOptions.canPDFAnnotate = this.appOptions.canSwitchMode && this.appOptions.canLicense && (this.permissions.comment!== false);
|
||||
this.appOptions.canPDFAnnotate = this.appOptions.canPDFAnnotate && !((typeof (this.editorConfig.customization) == 'object') && this.editorConfig.customization.comments===false);
|
||||
this.appOptions.isPDFAnnotate = false;// this.appOptions.canLicense && this.appOptions.canPDFAnnotate && !this.appOptions.isPDFEdit && this.editorConfig.mode !== 'view'; !! always open in view mode
|
||||
this.appOptions.canSwitchMode = !isXpsViewer && false; // switch between View/pdf comments/pdf edit
|
||||
this.appOptions.canComments = !isXpsViewer;
|
||||
this.appOptions.canViewComments = this.appOptions.canComments;
|
||||
this.appOptions.canChat = this.appOptions.canLicense && !this.appOptions.isOffline && !(this.permissions.chat===false || (this.permissions.chat===undefined) &&
|
||||
|
||||
Reference in New Issue
Block a user