diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt index 18cf51e63a..4309ae87f7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt @@ -476,7 +476,7 @@ }); $("#patron_batchmod_form").on("submit", function(){ /* Reset form fields on inactive tabs */ - var tab = $(this).find('.ui-tabs-active:first a').attr('href'); + var tab = $(this).find('ul.nav-tabs li.active a').attr('href'); if ( tab == '#usecardnumber' ) { $("#borrowernumberuploadfile, #patron_list_id, #borrowernumberlist").val(""); } else if ( tab == '#useborrowernumber' ) {