From 6801568fd5de7f1214efd2c46c9940681eedd470 Mon Sep 17 00:00:00 2001 From: Yanjun Li Date: Thu, 24 Oct 2024 20:51:12 +0000 Subject: [PATCH] Bug 38020: Change form to submit link To test: 1. Create a list in the staff interface 2. Go to lists 3. View the list 4. Click the Edit dropdown 5. Notice the two dropdown options for Edit list and Delete list have different formatting and look different 6. Apply patch 7. Try steps 1 through 4 again 8. The delete list button form looks right, and delete function works --- .../prog/en/includes/virtualshelves-toolbar.inc | 11 ++++------- .../prog/en/modules/virtualshelves/shelves.tt | 1 + 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc index a63a914d6a..fe971e6c76 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc @@ -16,13 +16,9 @@ [% END %] @@ -42,3 +38,4 @@
Print list
[% END %] + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index c9c06745b1..34b7f80a42 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -607,6 +607,7 @@ [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %] + [% Asset.js("js/form-submit.js") | $raw %] [% IF print %]