From 25e09cf31126aac2ffa163f7439ec1c2e0b8a467 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 28 Sep 2022 16:39:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=B5=E9=9D=A2=E6=8A=A5?= =?UTF-8?q?=E8=AF=AD=E8=A8=80=E5=8C=85=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../widget/SectionDisplayer.js | 4 ++++ .../x_component_process_FormDesigner/widget/SectionMerger.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/o2web/source/x_component_process_FormDesigner/widget/SectionDisplayer.js b/o2web/source/x_component_process_FormDesigner/widget/SectionDisplayer.js index 0efc575446..867c41987c 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 8365c8da18..6b72dd4834 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(); }, -- GitLab