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 252265f5c9..3a0555329b 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 @@ -351,7 +351,7 @@ }); $("#record_ids_selection").on("submit", function(e){ - var tab = $(this).find('.ui-tabs-active:first a').attr('href'); + var tab = $(this).find('#batch_del_form:active:first a').attr('href'); if ( tab == '#uploadfile_tab' ) { $("#shelf_number").empty(''); $("#recordnumber_list").val('');