]> git.koha-community.org Git - koha.git/commit
Bug 23202: Fix screen freeze when ordereing several items
authorJohanna Raisa <johanna.raisa@gmail.com>
Tue, 26 Jul 2022 09:01:56 +0000 (12:01 +0300)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 14 Sep 2022 11:46:29 +0000 (13:46 +0200)
commit369b1f724b8d173f3c50cf70236608458a82d439
tree54ea8de2f0c05b964c52ff785e81cd22aed6b9e8
parent6c423f10d5c57f1e16332eb83ec990afe4f3f980
Bug 23202: Fix screen freeze when ordereing several items

This patch fixes adding multiple items on order acquisitions

The error is: Uncaught TypeError: $(...).parent(...).attr(...) is undefined

Test plan:
1) Set dateaccessioned.pl plugin to ACQ framework's 952$d field.
2) Create basket to a vendor and add order from a new empty record.
3) Add date acquired value from calendar.
4) Add multiple items and see that the view freezes.
5) Apply the patch
6) Reload the page and repeat the steps 3 and 4.
7) See that the items are added.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
JD Amended patch: adjust commit title
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit d2d78e2581419dd3d8101fd9aecf358c71213733)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit cf96c9802adf05b11aae6149bcd334eb13f2ba2e)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/additem.js