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 b21e6b76e9..7ce04d7704 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt @@ -139,14 +139,14 @@ }, { "title": "Actions", + "className": "actions", "searchable": false, "orderable": false, - "render": function( row, type, val, meta ) { - - var result = ''; - result += ' Delete'; + "render": function(data, type, row, meta) { + var result = ' '; + result += ' Delete '; if ( row.status == 'new' ) { - reslt += ' Import'; + result += ' Import '; } return result; } @@ -157,7 +157,7 @@ var EDIModal = $("#EDI_modal"); var EDIModalBody = $("#EDI_modal .modal-body"); - $(".view_message").on("click", function(e){ + $("body").on("click", ".view_message", function(e){ e.preventDefault(); var page = $(this).attr("href"); EDIModalBody.load(page + " #edimsg"); @@ -170,7 +170,7 @@ EDIModal.on("hidden.bs.modal", function(){ EDIModalBody.html("