bugfix
This commit is contained in:
parent
04881aa4d6
commit
3d4cd8d0fd
@ -72,14 +72,15 @@ bricks.FormBody = class extends bricks.VBox {
|
||||
}
|
||||
async validation(){
|
||||
var data = this.getValue();
|
||||
this.dispatch('submit', data);
|
||||
if (this.submit_url){
|
||||
var jcall = bricks.jcall;
|
||||
var rzt = await jcall(this.submit_url,
|
||||
{
|
||||
params:data
|
||||
});
|
||||
this.dispatch('submited', rzt);
|
||||
}
|
||||
this.dispatch('submit', data);
|
||||
}
|
||||
|
||||
build_fields(){
|
||||
|
Loading…
Reference in New Issue
Block a user