From 413001fd8210dd9b997c673aabdef1c37b67cd4c Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 3 Dec 2024 12:30:10 +0000 Subject: [PATCH] Bug 37993: (QA follow-up) Use submit form link asset guideline JS16 --- .../prog/en/modules/acqui/basket.tt | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 66cbcc6419e..67075bb91d0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -111,26 +111,14 @@ [% IF Koha.Preference('EDIFACT') && ediaccount %]
- [% IF eans.count == 1 %] -
- [% INCLUDE 'csrf-token.inc' %] - - - - -
+ [% IF eans.size == 1 %] + Create EDIFACT order [% ELSE %] @@ -1026,6 +1014,7 @@ [% MACRO jsinclude BLOCK %] [% Asset.js("js/acquisitions-menu.js") | $raw %] + [% Asset.js("js/form-submit.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% Asset.js("js/acq.js") | $raw %] -- 2.39.5