From 3d888a9e49f1f1041c6ab5d9e85b07dd77cf14ba Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 18 Oct 2023 20:04:49 +0000 Subject: [PATCH] Bug 35068: (follow-up) Always disable buttons after action Content-Type: text/plain; charset=utf-8 Signed-off-by: Owen Leonard Signed-off-by: Kelly Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Marcel de Rooy --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js index b9a4ca95ac..22f1f1a2b4 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -154,7 +154,7 @@ $(document).ready(function() { if ( refresh_table ) { RefreshIssuesTable(); } - + $('#RenewChecked, #CheckinChecked').prop('disabled' , true ); // Prevent form submit return false; }); @@ -249,7 +249,7 @@ $(document).ready(function() { if ( refresh_table ) { RefreshIssuesTable(); } - + $('#RenewChecked, #CheckinChecked').prop('disabled' , true ); // Prevent form submit return false; }); @@ -304,7 +304,6 @@ $(document).ready(function() { $('#issues-table-loading-message').hide(); $('#issues-table').show(); $('#issues-table-actions').show(); - var msg_loading = __('Loading... you may continue scanning.'); issuesTable = KohaTable("issues-table", { "oLanguage": { -- 2.30.2