]> git.koha-community.org Git - koha.git/commit
Bug 29803: Do not wait for the images more than 5 seconds
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 10 Jan 2022 11:29:11 +0000 (12:29 +0100)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 25 Feb 2022 13:31:40 +0000 (08:31 -0500)
commit140f8e032bac9c510cc718341fd16f3db335b467
tree9ea0fa40cc60ee94e07090aa0168a7fa44dbcd32
parentc7d350b5104e8421606d8dd56ca120c4f5625f4c
Bug 29803: Do not wait for the images more than 5 seconds

In case of the previous bug, the page was calling the callback function
every 100ms, endlessly. We should add a test to prevent future similar
problem.

Test plan:
Remove the previous patch "Prevent local cover image to be hidden if
Coce is enabled"
Recreate the test plan
=> You should see the local image displayed after 5 seconds, and a
log in the JS console

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt