From 8e6b95a936cbfbaadb15f6266222b0bce389d677 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 15 Feb 2024 15:10:56 +0000 Subject: [PATCH] Bug 34478: Convert EDIFACT messages deletion to POST Modify DataTables rendering to put the delete button inside a POSTed form. Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt index 923b158fdb..2169b31ae7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt @@ -150,7 +150,9 @@ "orderable": false, "render": function(data, type, row, meta) { var result = ' '+_("View message")+' '; - result += ' '+_("Delete")+' '; + result += '
'; + result += ''; + result += ' '; if ( row.status == 'new' ) { result += ' '+_("Import")+' '; } -- 2.39.5