]> git.koha-community.org Git - koha.git/commit
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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 12 May 2023 14:33:08 +0000 (15:33 +0100)
commit5c92a40cf1ffcda1dda65fa358dc6c46794c271d
treefae73466875e476182ab8c17a5634966bc9e106a
parenta36f1b70e6a188ee8bfbe3e5406bbe8c894f587f
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>
(cherry picked from commit 289f0e80517713814fb0752b932fe612ba2d0bc4)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt