[DE] unlocked version history for desktop app
This commit is contained in:
parent
99a7be61c6
commit
217e7afeaa
|
@ -363,7 +363,6 @@
|
||||||
if (result[1] == 'desktop') {
|
if (result[1] == 'desktop') {
|
||||||
_config.editorConfig.targetApp = result[1];
|
_config.editorConfig.targetApp = result[1];
|
||||||
// _config.editorConfig.canBackToFolder = false;
|
// _config.editorConfig.canBackToFolder = false;
|
||||||
_config.editorConfig.canUseHistory = false;
|
|
||||||
if (!_config.editorConfig.customization) _config.editorConfig.customization = {};
|
if (!_config.editorConfig.customization) _config.editorConfig.customization = {};
|
||||||
_config.editorConfig.customization.about = false;
|
_config.editorConfig.customization.about = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1065,7 +1065,7 @@ define([
|
||||||
(!this.appOptions.isReviewOnly || this.appOptions.canLicense); // if isReviewOnly==true -> canLicense must be true
|
(!this.appOptions.isReviewOnly || this.appOptions.canLicense); // if isReviewOnly==true -> canLicense must be true
|
||||||
this.appOptions.isEdit = this.appOptions.canLicense && this.appOptions.canEdit && this.editorConfig.mode !== 'view';
|
this.appOptions.isEdit = this.appOptions.canLicense && this.appOptions.canEdit && this.editorConfig.mode !== 'view';
|
||||||
this.appOptions.canReview = this.permissions.review === true && this.appOptions.canLicense && this.appOptions.isEdit;
|
this.appOptions.canReview = this.permissions.review === true && this.appOptions.canLicense && this.appOptions.isEdit;
|
||||||
this.appOptions.canUseHistory = this.appOptions.canLicense && this.editorConfig.canUseHistory && this.appOptions.canCoAuthoring && !this.appOptions.isDesktopApp;
|
this.appOptions.canUseHistory = this.appOptions.canLicense && this.editorConfig.canUseHistory && this.appOptions.canCoAuthoring;
|
||||||
this.appOptions.canHistoryClose = this.editorConfig.canHistoryClose;
|
this.appOptions.canHistoryClose = this.editorConfig.canHistoryClose;
|
||||||
this.appOptions.canHistoryRestore= this.editorConfig.canHistoryRestore && !!this.permissions.changeHistory;
|
this.appOptions.canHistoryRestore= this.editorConfig.canHistoryRestore && !!this.permissions.changeHistory;
|
||||||
this.appOptions.canUseMailMerge= this.appOptions.canLicense && this.appOptions.canEdit && !this.appOptions.isOffline;
|
this.appOptions.canUseMailMerge= this.appOptions.canLicense && this.appOptions.canEdit && !this.appOptions.isOffline;
|
||||||
|
|
Loading…
Reference in a new issue