diff --git a/apps/api/documents/api.js b/apps/api/documents/api.js index 0c6578324..55caed959 100644 --- a/apps/api/documents/api.js +++ b/apps/api/documents/api.js @@ -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)); diff --git a/apps/documenteditor/forms/app/controller/ApplicationController.js b/apps/documenteditor/forms/app/controller/ApplicationController.js index 38676d768..cc8d62a24 100644 --- a/apps/documenteditor/forms/app/controller/ApplicationController.js +++ b/apps/documenteditor/forms/app/controller/ApplicationController.js @@ -431,8 +431,8 @@ define([ this.appOptions.customization && this.appOptions.customization.logo ) { var logo = $('#header-logo'); - if (this.appOptions.customization.logo.imageEmbedded) { - logo.html(''); + if (this.appOptions.customization.logo.image) { + logo.html(''); logo.css({'background-image': 'none', width: 'auto', height: 'auto'}); }