From 9bb543e1a5098f29a6863ca20b1fa1d7fa3c33f1 Mon Sep 17 00:00:00 2001 From: huqi Date: Fri, 17 Sep 2021 07:30:35 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dform=E7=9A=84=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E9=9D=A2=E6=9D=BF=E4=B8=AD=EF=BC=8Cform=E5=92=8Cpage?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=85=A8=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit f63b35e4b153632d98c1c2ae193a38156a892b95) --- o2web/source/x_component_portal_PageDesigner/Script.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/o2web/source/x_component_portal_PageDesigner/Script.js b/o2web/source/x_component_portal_PageDesigner/Script.js index 1b95371404..78906354fe 100644 --- a/o2web/source/x_component_portal_PageDesigner/Script.js +++ b/o2web/source/x_component_portal_PageDesigner/Script.js @@ -79,8 +79,10 @@ MWF.xApplication.portal.PageDesigner.Script = new Class({ this.addScriptItem(this.data.validationOpinion, "code", this.data, "validationOpinion"); this.addScriptItem(this.data.validationRoute, "code", this.data, "validationRoute"); this.addScriptItem(this.data.validationFormCustom, "code", this.data, "validationFormCustom"); + this.addScriptItem(this.data.languageScript, "code", this.data, "languageScript"); Object.each(this.data.events, function(event, key){ - this.addScriptItem(event, "code", this.data, this.designer.lp.events+"."+key); + //this.addScriptItem(event, "code", this.data, this.designer.lp.events+"."+key); + this.addModuleEventScriptItem(event, "code", key, this.data); }.bind(this)); Object.each(this.data.moduleList, function(v){ -- GitLab