Change compactHeader, toolbarNoTabs customization parameters (#190)
This commit is contained in:
parent
3bfdd7ac32
commit
be8a06d16b
|
@ -1195,10 +1195,6 @@ define([
|
|||
this.appOptions.canBranding = params.asc_getCustomization();
|
||||
if (this.appOptions.canBranding)
|
||||
appHeader.setBranding(this.editorConfig.customization);
|
||||
else if (typeof this.editorConfig.customization == 'object') {
|
||||
this.editorConfig.customization.compactHeader = this.editorConfig.customization.toolbarNoTabs =
|
||||
this.editorConfig.customization.toolbarHideFileName = false;
|
||||
}
|
||||
|
||||
this.appOptions.canRename && appHeader.setCanRename(true);
|
||||
|
||||
|
|
|
@ -916,10 +916,6 @@ define([
|
|||
this.appOptions.canBranding = params.asc_getCustomization();
|
||||
if (this.appOptions.canBranding)
|
||||
appHeader.setBranding(this.editorConfig.customization);
|
||||
else if (typeof this.editorConfig.customization == 'object') {
|
||||
this.editorConfig.customization.compactHeader = this.editorConfig.customization.toolbarNoTabs =
|
||||
this.editorConfig.customization.toolbarHideFileName = false;
|
||||
}
|
||||
|
||||
this.appOptions.canRename && appHeader.setCanRename(true);
|
||||
|
||||
|
|
|
@ -931,10 +931,6 @@ define([
|
|||
this.appOptions.canBranding = params.asc_getCustomization();
|
||||
if (this.appOptions.canBranding)
|
||||
this.headerView.setBranding(this.editorConfig.customization);
|
||||
else if (typeof this.editorConfig.customization == 'object') {
|
||||
this.editorConfig.customization.compactHeader = this.editorConfig.customization.toolbarNoTabs =
|
||||
this.editorConfig.customization.toolbarHideFileName = false;
|
||||
}
|
||||
|
||||
this.appOptions.canRename && this.headerView.setCanRename(true);
|
||||
} else
|
||||
|
|
Loading…
Reference in a new issue