diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt index 7e166637e9..3914e57cfc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt @@ -358,7 +358,7 @@ }); $("#record_ids_selection").on("submit", function(e) { - var tab = $(this).find('.ui-tabs-active:first a').attr('href'); + var tab = $(this).find('#batch_mod_form li.active:first a').attr('href'); if (tab == '#uploadfile_tab') { $("#shelf_number").empty(''); $("#recordnumber_list").val('');