From f5f7fb7c9e6088d3a3b6578a4a22b445c4e0f6c9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 28 Aug 2024 15:01:04 +0200 Subject: [PATCH] Bug 37755: Fix batch del record (adding the missing _panel suffix) Signed-off-by: Jonathan Druart --- .../prog/en/modules/tools/batch_delete_records.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt index b75fe5d4d5d..0de1cc52959 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt @@ -380,10 +380,10 @@ $("#record_ids_selection").on("submit", function(e){ var tab = $(this).find('#batch_del_form li a.active:first').attr('href'); - if ( tab == '#uploadfile_tab' ) { + if ( tab == '#uploadfile_tab_panel' ) { $("#shelf_number").empty(''); $("#recordnumber_list").val(''); - } else if ( tab == '#shelves_tab' ) { + } else if ( tab == '#shelves_tab_panel' ) { $("#uploadfile").val('') $("#recordnumber_list").val(''); } else { // enterlist -- 2.34.1