[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
Mon Jan 9 18:34:08 CET 2017


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

Claire Gravely <claire_gravely at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #57695|0                           |1
        is obsolete|                            |

--- Comment #8 from Claire Gravely <claire_gravely at hotmail.com> ---
Created attachment 58704
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58704&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

Signed-off-by: Claire Gravely <claire_gravely at hotmail.com>

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


More information about the Koha-bugs mailing list