From 1ee5647c9a3b4512281cc5f13dd034e0f6101223 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 18 Mar 2024 18:17:40 +0800 Subject: [PATCH] bugfix --- bricks/dynamicaccordion.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bricks/dynamicaccordion.js b/bricks/dynamicaccordion.js index 209d2f2..3df0d0f 100644 --- a/bricks/dynamicaccordion.js +++ b/bricks/dynamicaccordion.js @@ -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);