bugfix
This commit is contained in:
parent
bfa9bafc25
commit
1ee5647c9a
@ -150,12 +150,13 @@ bricks.DynamicAccordion = class extends bricks.VScrollPanel {
|
||||
}
|
||||
delete_record(info, record){
|
||||
var conform_w = new bricks.Conform({
|
||||
target:this,
|
||||
title:'Delete conform',
|
||||
message:'Are you sure to delete is record?'
|
||||
});
|
||||
conform_w.bind('conform', this.delete_record_act.bind(this, info, record));
|
||||
}
|
||||
delete_record_act(){
|
||||
delete_record_act(info, record){
|
||||
url = this.editable.delete_record_url + '?id=' + record.id;
|
||||
var hc = new bricks.HttpClient();
|
||||
var r = hc.get(url);
|
||||
|
Loading…
Reference in New Issue
Block a user