Users in one centre cannot register children because the sweetalert popup does not fire on setting the first paediatric assessment date. All other JS-related function on the same page works, so it is hypothesised that the sweetalert2 dependency is not loading, as this is pulled from CDN, not from local staticfiles(as are jquery, htmx etc)
Code changes
Add latest minified sweetalert2 code version to static folder and update the link in the head of base.html. (this in any case was a recommendation in our pen tests)
Documentation changes (done or required as a result of this PR)
Bug fix
Related Issues
962 - will not be possible to close the issue until merged into live and user is contacted
Fixes #962
Overview
Users in one centre cannot register children because the sweetalert popup does not fire on setting the first paediatric assessment date. All other JS-related function on the same page works, so it is hypothesised that the sweetalert2 dependency is not loading, as this is pulled from CDN, not from local staticfiles(as are jquery, htmx etc)
Code changes
Add latest minified sweetalert2 code version to static folder and update the link in the head of
base.html
. (this in any case was a recommendation in our pen tests)Documentation changes (done or required as a result of this PR)
Bug fix
Related Issues
962 - will not be possible to close the issue until merged into live and user is contacted