From eb63ec6f7afa09b9156d245b6bea8264c81f23cc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 17 Jan 2022 15:01:56 +0100 Subject: [PATCH] Bug 29895: Fix 'add multiple items' button on neworderempty Button [Add multiple items] stops responding when it's pressed and some multiple items added to basket It has a "visibility: hidden" we are trying to remove setting "display: inline" This is pretty ugly and certainly does not clean the code, but it's too messy and this patch fixes the problem easily. Test plan: Add a new order Click "Add multiple items", enter "2", click "Add". Confirm that you can use the "Add multiple items" again. --- koha-tmpl/intranet-tmpl/prog/js/additem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/additem.js b/koha-tmpl/intranet-tmpl/prog/js/additem.js index 7d80ca8a775..a83310f29d4 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/additem.js +++ b/koha-tmpl/intranet-tmpl/prog/js/additem.js @@ -180,10 +180,10 @@ function cloneItemBlock(index, unique_item_fields, callback) { var buttonPlus = "
"; buttonPlus += ''; buttonPlus += ''; - buttonPlus += ''; + buttonPlus += ''; buttonPlus += ''; buttonPlus += "
"; -- 2.25.1