Koha/koha-tmpl/opac-tmpl/lib
David Cook a4bdd27fd9
Bug 34613: Replace onclick attributes in midiplayer.js
This patch replaces the onclick attributes in midiplayer.js
with Javascript click handlers.

To test:
0. Apply patch
1. Clear browser cache (it may be necessary to go into the
   Network tab and explicitly disable cache)
2. Add 031 subfields 2gopnu to Default framework
3. Create a catalogue record with a 031 like follows:
2: pe
g: G-2
o: 4/4
p: 4bB''C2bE/2F4GbB/'bB2''C4D/F2.bE/4GG2bB/4'''C2C4''bB/4bE2G4bB/4bE2.F/
n: xFCGD
4. Enable the following sysprefs:
   OPACShowMusicalInscripts
   OPACPlayMusicalInscripts
5. Go to OPAC record view and click "Play this sample"
6. Play with the "Pause/Start" and "Stop" buttons
7. If the buttons work, it means the patch worked

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-09-18 15:31:47 -03:00
..
bootstrap/js Bug 32998: Consolidate opac-tmpl/lib and opac-tmpl/bootstrap/lib 2023-04-13 11:47:57 -03:00
Chocolat Bug 28180: (follow-up) Updates to styling of lightbox controls 2021-10-21 12:24:04 +02:00
dayjs Bug 30310: Add missing utc plugin 2023-01-31 10:19:45 -03:00
emoji-picker Bug 25350: Load Emoji picker assets more efficiently 2020-05-04 09:44:45 +01:00
famfamfam Bug 32998: Consolidate opac-tmpl/lib and opac-tmpl/bootstrap/lib 2023-04-13 11:47:57 -03:00
flatpickr Bug 29212: Use Flatpickr on OPAC pages 2022-01-31 21:55:40 -10:00
fontawesome Bug 32910: (follow-up) Remove unused Font Awesome assets 2023-06-12 11:52:12 -03:00
greybox Bug 32998: Consolidate opac-tmpl/lib and opac-tmpl/bootstrap/lib 2023-04-13 11:47:57 -03:00
jquery Bug 29578: Upgrade the jQuery highlighter plugin 2023-08-29 14:37:09 -03:00
js-cookie Bug 29940: Phase out jquery.cookie.js in the OPAC 2022-03-22 10:17:34 -10:00
kjua Bug 23566: Continue on device - with QR codes 2019-10-01 14:38:02 +01:00
verovio Bug 34613: Replace onclick attributes in midiplayer.js 2023-09-18 15:31:47 -03:00
enquire.js Bug 32998: Consolidate opac-tmpl/lib and opac-tmpl/bootstrap/lib 2023-04-13 11:47:57 -03:00
enquire.min.js Bug 32998: Consolidate opac-tmpl/lib and opac-tmpl/bootstrap/lib 2023-04-13 11:47:57 -03:00
fontfaceobserver.min.js Bug 32998: Consolidate opac-tmpl/lib and opac-tmpl/bootstrap/lib 2023-04-13 11:47:57 -03:00
hc-sticky.js Bug 5287: Add floating toolbar to search results in OPAC 2019-06-24 17:05:56 +01:00
media.match.js Bug 32998: Consolidate opac-tmpl/lib and opac-tmpl/bootstrap/lib 2023-04-13 11:47:57 -03:00
media.match.min.js Bug 32998: Consolidate opac-tmpl/lib and opac-tmpl/bootstrap/lib 2023-04-13 11:47:57 -03:00