|
@@ -213,6 +213,7 @@ MWF.xApplication.process.Xform.SubmitForm = MWF.APPSubmitform = new Class({
|
|
|
if( !this.checkSubformUnique( this.subformData.json.id ) ){ //如果提交表单已经嵌入到表单中,那么把这个表单弹出来
|
|
if( !this.checkSubformUnique( this.subformData.json.id ) ){ //如果提交表单已经嵌入到表单中,那么把这个表单弹出来
|
|
|
// this.form.notice(MWF.xApplication.process.Xform.LP.subformUniqueError, "error");
|
|
// this.form.notice(MWF.xApplication.process.Xform.LP.subformUniqueError, "error");
|
|
|
this.isEmbedded = true;
|
|
this.isEmbedded = true;
|
|
|
|
|
+ this.fireEvent("afterModulesLoad");
|
|
|
}else if( !this.checkSubformNested( this.subformData.json.id ) ){
|
|
}else if( !this.checkSubformNested( this.subformData.json.id ) ){
|
|
|
this.form.notice(MWF.xApplication.process.Xform.LP.subformNestedError, "error");
|
|
this.form.notice(MWF.xApplication.process.Xform.LP.subformNestedError, "error");
|
|
|
}else{
|
|
}else{
|
|
@@ -247,6 +248,7 @@ MWF.xApplication.process.Xform.SubmitForm = MWF.APPSubmitform = new Class({
|
|
|
}.bind(this));
|
|
}.bind(this));
|
|
|
|
|
|
|
|
this.form.subformLoaded.push( this.subformData.json.id );
|
|
this.form.subformLoaded.push( this.subformData.json.id );
|
|
|
|
|
+ this.fireEvent("afterModulesLoad");
|
|
|
// this.fireSubFormEvent("postLoad");
|
|
// this.fireSubFormEvent("postLoad");
|
|
|
// this.fireSubFormEvent("load");
|
|
// this.fireSubFormEvent("load");
|
|
|
// this.fireSubFormEvent("afterLoad");
|
|
// this.fireSubFormEvent("afterLoad");
|