[DE][SSE] Remove feature check
This commit is contained in:
parent
39731791c8
commit
a884f49120
|
@ -400,7 +400,7 @@ define([
|
||||||
this.appOptions.canRequestMailMergeRecipients = this.editorConfig.canRequestMailMergeRecipients;
|
this.appOptions.canRequestMailMergeRecipients = this.editorConfig.canRequestMailMergeRecipients;
|
||||||
this.appOptions.canRequestSharingSettings = this.editorConfig.canRequestSharingSettings;
|
this.appOptions.canRequestSharingSettings = this.editorConfig.canRequestSharingSettings;
|
||||||
this.appOptions.compatibleFeatures = (typeof (this.appOptions.customization) == 'object') && !!this.appOptions.customization.compatibleFeatures;
|
this.appOptions.compatibleFeatures = (typeof (this.appOptions.customization) == 'object') && !!this.appOptions.customization.compatibleFeatures;
|
||||||
this.appOptions.canFeatureComparison = !!this.api.asc_isSupportFeature("comparison");
|
this.appOptions.canFeatureComparison = true;
|
||||||
this.appOptions.canFeatureContentControl = true;
|
this.appOptions.canFeatureContentControl = true;
|
||||||
this.appOptions.canFeatureForms = !!this.api.asc_isSupportFeature("forms");
|
this.appOptions.canFeatureForms = !!this.api.asc_isSupportFeature("forms");
|
||||||
|
|
||||||
|
|
|
@ -402,7 +402,7 @@ define([
|
||||||
this.appOptions.mentionShare = !((typeof (this.appOptions.customization) == 'object') && (this.appOptions.customization.mentionShare==false));
|
this.appOptions.mentionShare = !((typeof (this.appOptions.customization) == 'object') && (this.appOptions.customization.mentionShare==false));
|
||||||
this.appOptions.canMakeActionLink = this.editorConfig.canMakeActionLink;
|
this.appOptions.canMakeActionLink = this.editorConfig.canMakeActionLink;
|
||||||
this.appOptions.canFeaturePivot = true;
|
this.appOptions.canFeaturePivot = true;
|
||||||
this.appOptions.canFeatureViews = !!this.api.asc_isSupportFeature("sheet-views");
|
this.appOptions.canFeatureViews = true;
|
||||||
|
|
||||||
if (this.appOptions.user.guest && this.appOptions.canRenameAnonymous && !this.appOptions.isEditDiagram && !this.appOptions.isEditMailMerge)
|
if (this.appOptions.user.guest && this.appOptions.canRenameAnonymous && !this.appOptions.isEditDiagram && !this.appOptions.isEditMailMerge)
|
||||||
Common.NotificationCenter.on('user:rename', _.bind(this.showRenameUserDialog, this));
|
Common.NotificationCenter.on('user:rename', _.bind(this.showRenameUserDialog, this));
|
||||||
|
|
Loading…
Reference in a new issue