Koha-clms/koha-tmpl/opac-tmpl/bootstrap
Owen Leonard 67f695001a
Bug 25350: Load Emoji picker assets more efficiently
This patch moves the Emoji picker JS assets out of opac-bottom.inc and
into opac-detail.tt. This prevents the assets from being loaded on every
page of the OPAC when they're only used on opac-detail.

The patch also combines and minifies the 4 JavaScript files used by the
feature. opac-detail.tt now loads only the one file.

To test, apply the patch and make sure the TagsEnabled and
TagsInputOnDetail preferences are enabled.

- Log in to the OPAC and view the detail page for a bibliographic
  record.
- Click the "Add tag(s)" link
- Verify that the emoji-picker works for adding emojis

Signed-off-by: David Roberts <david@koha-ptfs.co.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-05-04 09:44:45 +01:00
..
css Bug 13388: Compiled CSS 2020-05-04 09:44:42 +01:00
en Bug 25350: Load Emoji picker assets more efficiently 2020-05-04 09:44:45 +01:00
images Bug 23903: Replace OPAC icons with Font Awesome 2019-10-31 15:40:25 +00:00
itemtypeimg Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
js Bug 21565: (follow-up) Make confirmation buttons more detailed 2020-05-04 08:47:18 +01:00
lib Bug 24455: Add moment-timezone library in opac 2020-03-25 13:54:15 +00:00