[Koha-bugs] [Bug 31228] New: Fix Coce JavaScript to hide single-pixel cover images in both the staff client detail and results pages
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 25 05:51:20 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31228
Bug ID: 31228
Summary: Fix Coce JavaScript to hide single-pixel cover images
in both the staff client detail and results pages
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: alexbuckley at catalyst.net.nz
QA Contact: testopia at bugs.koha-community.org
As reported by Jonathan in bug 31217 koha-tmpl/intranet-tmpl/js/coce.js hides
the coce-coverimg class.
- In koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt coce-coverimg
is a class.
- In koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt coce-coverimg
is an ID, not a class.
As ID's are more specific, coce-coverimg should be changed to an ID in
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
And koha-tmpl/intranet-tmpl/js/coce.js should be changed to:
$("#coce-coverimg").remove();
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list