提交 b8d3bac3 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'cherry-pick-f63b35e4' into 'wrdp'

修复form的脚本面板中,form和page脚本显示不全的问题

See merge request o2oa/o2oa!5497
...@@ -79,8 +79,10 @@ MWF.xApplication.portal.PageDesigner.Script = new Class({ ...@@ -79,8 +79,10 @@ MWF.xApplication.portal.PageDesigner.Script = new Class({
this.addScriptItem(this.data.validationOpinion, "code", this.data, "validationOpinion"); this.addScriptItem(this.data.validationOpinion, "code", this.data, "validationOpinion");
this.addScriptItem(this.data.validationRoute, "code", this.data, "validationRoute"); this.addScriptItem(this.data.validationRoute, "code", this.data, "validationRoute");
this.addScriptItem(this.data.validationFormCustom, "code", this.data, "validationFormCustom"); 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){ 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)); }.bind(this));
Object.each(this.data.moduleList, function(v){ Object.each(this.data.moduleList, function(v){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册