]> git.koha-community.org Git - koha.git/commit
Bug 21257: (bug 13618 follow-up) Handle undef values in JS before escapeHtml call
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 24 Aug 2018 19:22:20 +0000 (16:22 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Sun, 16 Sep 2018 04:21:32 +0000 (04:21 +0000)
commit89d140c6a188a8672b2498481da6cb83802a9699
treee6992fa955894bed37928b141221f3fcfb8e6f42
parent52a44a5cabe5d526c4a721828dd4f9cb9a1f2458
Bug 21257: (bug 13618 follow-up) Handle undef values in JS before escapeHtml call

To test:
1 - Find an item with no collection or location defined
2 - Check it out to a patron
3 - Note you cannot view the checkouts table
4 - Check the console: TypeError: oObj.collection is null
5 - Apply patch
6 - Restart all the things
7 - Checkouts table should load

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/js/checkouts.js