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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 15 Jun 2021 14:41:47 +0000 (16:41 +0200)
commit6fdbf5cce01b73f17d8407c61eb587edbb7f3fa4
tree63e499d34f30e534be89c9600dd1f3fa7b157fb2
parent5b21b42afa7a0cb1b68f5b0daf49bdb30052ef1b
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt