[Koha-bugs] [Bug 31217] New: Fix Coce JavaScript to hide single-pixel cover images in the OPAC lightbox gallery
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 21 23:50:03 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31217
Bug ID: 31217
Summary: Fix Coce JavaScript to hide single-pixel cover images
in the OPAC lightbox gallery
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: alexbuckley at catalyst.net.nz
QA Contact: testopia at bugs.koha-community.org
The shift to using a lightbox gallery to display cover images in the detail
pages of the OPAC has stopped Coce from hiding 1-pixel cover images.
This line (
https://github.com/Koha-Community/Koha/blob/0177b88eb33d398da4eb5ffb6344226930c3346b/koha-tmpl/opac-tmpl/bootstrap/js/coce.js#L39
) should hide the coce-coverimg box from the OPAC for 1-pixel images.
However, coce-coverimg is an id, not a class, in the OPAC detail page,
therefore, this JavaScript does not hide anything in the OPAC.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list