[Koha-bugs] [Bug 25350] Load Emoji picker assets more efficiently
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 1 23:39:16 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25350
--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 104143
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104143&action=edit
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
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list