Bug 28488: Javascript error in self-checkout (__ is not defined)
authorOwen Leonard <oleonard@myacpl.org>
Mon, 7 Jun 2021 16:02:35 +0000 (16:02 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Jun 2021 14:56:06 +0000 (10:56 -0400)
commit191a63111a6aa3d8a219dd5102fe80e68b5ff0ca
tree3572e1bc999979668def395bda85c70cd94ea84e
parent75d67d46ce3df59c1460df44318439c40c14451b
Bug 28488: Javascript error in self-checkout (__ is not defined)

This patch adds inclusion of the internationalization JavaScript which
is required by the newest version of the DataTables include. It
references the double-underscore function provided by i18n.js.

To test, apply the patch and log into the self-checkout system as a user
with checkouts. The table of checkouts should display correctly and
there should be no JavaScript errors in the console.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt