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)
committerKyle Hall <kyle@bywatersolutions.com>
Mon, 7 Feb 2022 16:51:35 +0000 (11:51 -0500)
commit0911987be88ae700a096e812eb51a089f673ed00
treef319e2299c784e6674ca6e9021343bed8c54f014
parentc830318b4c0d29c17a21ab1de887745793f57d0e
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/js/additem.js