[DE forms] Use logo.image for forms
This commit is contained in:
parent
b4cfd54f03
commit
c3fd5c1b1b
|
@ -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));
|
||||
|
|
|
@ -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'});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue