bugfix
This commit is contained in:
parent
fc76e82be2
commit
565fb308a9
@ -230,10 +230,10 @@ bricks.DataViewer = class extends bricks.VBox {
|
||||
}
|
||||
async add_record_finish(f, event){
|
||||
f.dismiss();
|
||||
this.render();
|
||||
var resp = event.params;
|
||||
var desc = await resp.json();
|
||||
var w = await bricks.widgetBuild(desc);
|
||||
this.render();
|
||||
}
|
||||
update_record(){
|
||||
var record = this.select_row.user_data;
|
||||
@ -260,12 +260,10 @@ bricks.DataViewer = class extends bricks.VBox {
|
||||
f.dismiss();
|
||||
}
|
||||
async update_record_finish(form, event){
|
||||
await this.renew_record_view(form, this.select_row);
|
||||
var resp = event.params;
|
||||
var desc = await resp.json();
|
||||
var w = await bricks.widgetBuild(desc);
|
||||
if (desc.widgettype == 'Message'){
|
||||
await this.renew_record_view(form, this.select_row);
|
||||
}
|
||||
}
|
||||
delete_record(row, record){
|
||||
var conform_w = new bricks.Conform({
|
||||
|
Loading…
Reference in New Issue
Block a user