Bug 29895: Fix 'add multiple items' button on neworderempty
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 17 Jan 2022 14:01:56 +0000 (15:01 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 1 Feb 2022 07:55:40 +0000 (21:55 -1000)
commit0d995fa55ae611ffe5a9d66126f38990a72484b7
treea02c7d1dae31d6f27b8667c5bd7311412c5204bf
parent857b937cf9641120db8e7faa26ec1ce21e0e664d
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 <samu.heiskanen@hypernova.fi>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/additem.js