diff --git a/apps/documenteditor/embed/js/ApplicationController.js b/apps/documenteditor/embed/js/ApplicationController.js index c938f38a8..20d162b59 100644 --- a/apps/documenteditor/embed/js/ApplicationController.js +++ b/apps/documenteditor/embed/js/ApplicationController.js @@ -313,7 +313,7 @@ var ApplicationController = new(function(){ } function onEditorPermissions(params) { - if ( params.asc_getCanBranding() && (typeof config.customization == 'object') && + if ( (params.asc_getLicenseType() === Asc.c_oLicenseResult.Success) && (typeof config.customization == 'object') && config.customization && config.customization.logo ) { var logo = $('#header-logo'); diff --git a/apps/presentationeditor/embed/js/ApplicationController.js b/apps/presentationeditor/embed/js/ApplicationController.js index 4cbe3951d..53564759c 100644 --- a/apps/presentationeditor/embed/js/ApplicationController.js +++ b/apps/presentationeditor/embed/js/ApplicationController.js @@ -391,7 +391,7 @@ var ApplicationController = new(function(){ } function onEditorPermissions(params) { - if ( params.asc_getCanBranding() && (typeof config.customization == 'object') && + if ( (params.asc_getLicenseType() === Asc.c_oLicenseResult.Success) && (typeof config.customization == 'object') && config.customization && config.customization.logo ) { var logo = $('#header-logo'); diff --git a/apps/spreadsheeteditor/embed/js/ApplicationController.js b/apps/spreadsheeteditor/embed/js/ApplicationController.js index 7f6873718..3690aa5ed 100644 --- a/apps/spreadsheeteditor/embed/js/ApplicationController.js +++ b/apps/spreadsheeteditor/embed/js/ApplicationController.js @@ -292,7 +292,7 @@ var ApplicationController = new(function(){ } function onEditorPermissions(params) { - if ( params.asc_getCanBranding() && (typeof config.customization == 'object') && + if ( (params.asc_getLicenseType() === Asc.c_oLicenseResult.Success) && (typeof config.customization == 'object') && config.customization && config.customization.logo ) { var logo = $('#header-logo');