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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to