From 72b1032280dee11c44c275fb52ea5ba6a6cab6c5 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 27 Mar 2024 21:15:19 +0000 Subject: [PATCH] Bug 36060: (follow-up) Remove unnessesary code --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js index 3790b60504..ac94c4c8ed 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -7,12 +7,6 @@ function CheckRenewCheckinBoxes() { function RefreshIssuesTable() { var table = $('#issues-table').DataTable(); - var renewchecked = $('input[name=renew]:checked').map(function(){ - return this.value; - }).get(); - var checkinchecked = $('input[name=checkin]:checked').map(function(){ - return this.value; - }).get(); table.ajax.reload( function() { CheckRenewCheckinBoxes(); var checkout_count = table.page.info().recordsTotal; @@ -635,10 +629,8 @@ $(document).ready(function() { if ( refresh_table ) { RefreshIssuesTable(); } - $('#RenewChecked, #CheckinChecked').prop('disabled' , true ); }); - CheckRenewCheckinBoxes(); // Prevent form submit return false; }); @@ -739,7 +731,6 @@ $(document).ready(function() { if ( refresh_table ) { RefreshIssuesTable(); } - $('#RenewChecked, #CheckinChecked').prop('disabled' , true ); }); // Prevent form submit -- 2.30.2