]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 22 Feb 2022 01:15:47 +0000 (15:15 -1000)
commit7f4bd35a856bb7714e71efa5e6c0a7788046e436
tree5838c4379305c3c537a55433a3d01f32407ed993
parent1513cd66b68b83614712c9f22947c03eec98d296
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt