[Koha-bugs] [Bug 16984] Standing orders - when ordering a JS error is raised

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 22 10:39:07 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16984

--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 57695
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57695&action=edit
Bug 16984: Do not clone the item block for standing orders

If AcqCreateItem is set to ordering and the basket is marked as
"standing orders", when ordering a JS error is raised:
additem.js:176 Uncaught TypeError: window[events[i]] is not a function

The item block should not be displayed in that case.

Test plan:
- Set AcqCreateItem to "ordering"
- Create a basket and tick the "Standing orders" checkbox
- Add an order to this basket
=> Without this patch you get the JS error
=> With this patch applied you will not get it

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list