Commit 645e36cc authored by Julia Radzhabova's avatar Julia Radzhabova

[Embedded] Customization for header logo and url.

parent 71b82e74
......@@ -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');
......
......@@ -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');
......
......@@ -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');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment