https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16984 --- Comment #5 from Jonathan Druart <jonathan.druart@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.