https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28180

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |Signed Off

--- Comment #46 from Jonathan Druart <[email protected]> ---
It's a problem in master as well (staff-side) and highlighted at the OPAC as we
have more images coming from external providers.

The code to hide the non-existent images does not work as we expect.
In my case, a new laptop (faster) make the problem more obvious, the JS code is
processed faster than before and we remove the div that contain images from
amazon, google, etc. because the images are not loaded yet.

I think we should fix that on a separate bug report to fix the staff side at
the same time. And obviously this new enhancement won't be pushed until it's
fixed.

You can continue testing with the following (non optimal) patch:

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
index 03f41fe8317..93b3c682f61 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
@@ -1620,7 +1620,7 @@
                             }
                         }
                     } else {
-                        div.remove();
+                        //div.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