Bug 32701: Fix I18N JavaScript libraries on self checkout help page
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 23 Apr 2023 21:16:52 +0000 (21:16 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 May 2023 13:18:38 +0000 (10:18 -0300)
commit289f0e80517713814fb0752b932fe612ba2d0bc4
treeb2c3a267e8eefe739a612f17c7928e6ffe9ebe45
parent48a2952032bafde7041e7bf10d861e7efeff54fc
Bug 32701: Fix I18N JavaScript libraries on self checkout help page

The help page was missing the fixes from bug 28488. The missing
libraries are causing a JavaScript error on the page and likely
other issues.

To test:
* Make sure WebBasedSelfCheck is activated and configured
  Note: In ktd you don't need to configure anything, it's already set up.
* In the OPAC, go to:
  /cgi-bin/koha/sco/sco-main.pl
* Click on the link to the help in the top right corner
* Verify you see the error in the console:
  jQuery.Deferred exception: __ is not defined
* Apply patch
* Restart things
* Reload the page
* Veriy the errors are gone

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt