Koha/koha-tmpl/opac-tmpl/bootstrap
Marcel de Rooy 1bd4f53e90
Bug 32642: (QA follow-up) Activate spinner early
See comment on former patch too. We need to activate the spinner
early and we can simplify the code to remove it.

Note: unfortunately this is kind of a workaround, since using
load would be nicer but currently hard to implement since the cover
image code is scattered/widespread.

This code still checks the complete attribute, we could argue that
it should just remove the spinner. Note too that the spinner belongs
to a div where multiple img may be part of. If we do not remove the
spinner now, something went wrong at load time, but if you can
actually see the spinner is another thing.

Test plan:
See former patch.
Check few cover images on detail page, enable various providers.
Bonus: I tested with a sleep statement in opac-image.pl.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-04-21 10:36:25 -03:00
..
css Bug 33272: Color of the "(remove)" link when an item is in the cart (OPAC) 2023-04-06 09:29:28 -03:00
en Bug 32642: (QA follow-up) Activate spinner early 2023-04-21 10:36:25 -03:00
images Bug 29036: (follow-up) Improve the use of variables to keep colors consistent 2021-12-01 21:38:12 -10:00
itemtypeimg Bug 27523: (follow-up) Add copy of image to carredart in the OPAC 2021-08-18 16:28:25 +02:00
js Bug 31028: Add feedback to the patron on submission 2023-03-06 11:23:17 -03:00