diff --git a/o2web/source/x_component_process_FormDesigner/widget/SectionDisplayer.js b/o2web/source/x_component_process_FormDesigner/widget/SectionDisplayer.js index 0efc5754465e91b4ff9f6f2ddbeb15e3465ad3cf..867c41987c41d272391927de39833b20b64df67c 100644 --- a/o2web/source/x_component_process_FormDesigner/widget/SectionDisplayer.js +++ b/o2web/source/x_component_process_FormDesigner/widget/SectionDisplayer.js @@ -20,6 +20,10 @@ MWF.xApplication.process.FormDesigner.widget.SectionDisplayer = new Class({ // this.path = "../x_component_process_FormDesigner/widget/$SectionDisplayer/"; // this.cssPath = "../x_component_process_FormDesigner/widget/$SectionDisplayer/"+this.options.style+"/css.wcss"; this.lp = this.app.lp.propertyTemplate; + if( !this.lp ){ + o2.xDesktop.requireApp("process.FormDesigner", "lp."+o2.language, null, false); + this.lp = MWF.xApplication.process.FormDesigner.LP.propertyTemplate; + } // this._loadCss(); }, diff --git a/o2web/source/x_component_process_FormDesigner/widget/SectionMerger.js b/o2web/source/x_component_process_FormDesigner/widget/SectionMerger.js index 8365c8da18ab5bcc2a6cfba10aeb7023b2621e29..6b72dd4834bd27cbed0b5e7d6e580fde7e4314b8 100644 --- a/o2web/source/x_component_process_FormDesigner/widget/SectionMerger.js +++ b/o2web/source/x_component_process_FormDesigner/widget/SectionMerger.js @@ -20,6 +20,10 @@ MWF.xApplication.process.FormDesigner.widget.SectionMerger = new Class({ // this.path = "../x_component_process_FormDesigner/widget/$SectionMerger/"; // this.cssPath = "../x_component_process_FormDesigner/widget/$SectionMerger/"+this.options.style+"/css.wcss"; this.lp = this.app.lp.propertyTemplate; + if( !this.lp ){ + o2.xDesktop.requireApp("process.FormDesigner", "lp."+o2.language, null, false); + this.lp = MWF.xApplication.process.FormDesigner.LP.propertyTemplate; + } // this._loadCss(); },