[DE forms] Use logo.image for forms

This commit is contained in:
Julia Radzhabova 2021-09-21 23:25:11 +03:00
parent b4cfd54f03
commit c3fd5c1b1b
2 changed files with 3 additions and 4 deletions

View file

@ -870,10 +870,9 @@
isIE = !check(/opera/) && (check(/msie/) || check(/trident/) || check(/edge/)),
isChrome = !isIE && check(/\bchrome\b/),
isSafari_mobile = !isIE && !isChrome && check(/safari/) && (navigator.maxTouchPoints>0),
path_type = "main";
path_type;
path += app + "/";
path_type = "";
if (config.document && typeof config.document.fileType === 'string' && config.document.fileType.toLowerCase() === 'oform') {
if (config.document.permissions) {
(config.document.permissions.fillForms===undefined) && (config.document.permissions.fillForms = (config.document.permissions.edit !== false));

View file

@ -431,8 +431,8 @@ define([
this.appOptions.customization && this.appOptions.customization.logo ) {
var logo = $('#header-logo');
if (this.appOptions.customization.logo.imageEmbedded) {
logo.html('<img src="'+this.appOptions.customization.logo.imageEmbedded+'" style="max-width:124px; max-height:20px;"/>');
if (this.appOptions.customization.logo.image) {
logo.html('<img src="'+this.appOptions.customization.logo.image+'" style="max-width:100px; max-height:20px;"/>');
logo.css({'background-image': 'none', width: 'auto', height: 'auto'});
}