jQuery LoadingOverlay 2.1.4
Fixed corner case bug with global Ajax events
7 June 2018
What’s fixed in version 2.1.4
- Replaced the
.load()
method with a customajax()
request to load external SVG images in order to prevent conflicts withajaxStart()
andajaxSend()
event handlers
Using jQuery method .load()
was causing a fuzzy behaviour (and a potential recursive chain) when a LoadingOverlay("show")
call was being used in ajaxStart()
or ajaxSend()
event handlers coupled with a custom SVG file passed to the image
parameter (talk about corner cases…).
A custom ajax request taking advantage of jQuery global
parameter fixed it. Now you can safely use LoadingOverlay in global Ajax events as suggested in the docs.
Download and documentation
Go to the Lab page: LoadingOverlay