[SSE] Check support for pivot tables
This commit is contained in:
parent
43ff8d3788
commit
1a88f7698b
|
@ -352,7 +352,7 @@ define([
|
||||||
this.appOptions.canRequestSharingSettings = this.editorConfig.canRequestSharingSettings;
|
this.appOptions.canRequestSharingSettings = this.editorConfig.canRequestSharingSettings;
|
||||||
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 = !!this.api.asc_isSupportFeature("pivot");
|
this.appOptions.canFeaturePivot = !!this.api.asc_isSupportFeature("pivot-tables");
|
||||||
|
|
||||||
this.headerView = this.getApplication().getController('Viewport').getView('Common.Views.Header');
|
this.headerView = this.getApplication().getController('Viewport').getView('Common.Views.Header');
|
||||||
this.headerView.setCanBack(this.appOptions.canBackToFolder === true, (this.appOptions.canBackToFolder) ? this.editorConfig.customization.goback.text : '')
|
this.headerView.setCanBack(this.appOptions.canBackToFolder === true, (this.appOptions.canBackToFolder) ? this.editorConfig.customization.goback.text : '')
|
||||||
|
|
Loading…
Reference in a new issue