From 3a6bdb71f85b9da85b3c9d9921e793cf05739521 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. Signed-off-by: Samu Heiskanen Signed-off-by: Katrin Fischer --- 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 7d80ca8a77..a83310f29d 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.30.2