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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 21 Jun 2021 13:29:26 +0000 (15:29 +0200)
commit8f99bc6350195bc429066b175409361fa2938ad6
treed9a667b1d455eaa74d6626ca966015f8ed947751
parenta0bd7d7c5a7b3cb6eddce02facdc0798bd9ce205
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>
(cherry picked from commit 191a63111a6aa3d8a219dd5102fe80e68b5ff0ca)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt