diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 54a53271ac..23666d8f86 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -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); diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index 956e3601a6..691b003309 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -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); diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index fa0886d513..d87dcce298 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -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