Koha/koha-tmpl/intranet-tmpl/prog
Jonathan Druart 58a36dd186
Bug 24166: Do not hang when displaying checkout list if barcode is not set
If a barcode is not set, there is a JS error in the log:
  TypeError: oObj.barcode is null
We should not call escapeHtml() on it if not barcode is set for a given
item.

Test plan:
Check an item out
Remove its barcode
Load the checkout list
=> Without this patch you get the "loading" popup and the table is never
displayed
=> With this patch applied you see the checkout list

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-12-23 12:05:24 +00:00
..
css Bug 24090: Subfield text in red when mandatory in record edition 2019-12-13 14:05:52 +00:00
en Bug 24281: Fix the list of types of visual materials 2019-12-23 12:03:15 +00:00
img Bug 23803: (follow-up) Remove additional references and file 2019-10-11 14:35:17 +01:00
js Bug 24166: Do not hang when displaying checkout list if barcode is not set 2019-12-23 12:05:24 +00:00
pdf
sound