Upgrading Datepicker to latest version for PCI Comliance
Posted: Fri May 10, 2024 12:36 pm
You may need to upgrade the core javascript of Datepicker to the latest for the site to pass PCI compliance.
Fortunately it is straightforward.
In Javascript Header Functions open Datepicker setup.
Edit the first line so it looks like this:
If you wish to reduce 'bloat' and have just the datepicker element, please go to https://jqueryui.com/download/#!version ... 0000000000
The neccessary options are preselected, just download using the button at the bottom and rename something like
Save to the Site folder and edit the top of Datepicker setup thus:
Fortunately it is straightforward.
In Javascript Header Functions open Datepicker setup.
Edit the first line so it looks like this:
Code: Select all
<!--<script type="text/javascript" src="jquery-ui-1.12.1-datepicker.js"></script>-->
<script src="https://code.jquery.com/ui/1.13.3/jquery-ui.js"></script>
The neccessary options are preselected, just download using the button at the bottom and rename something like
Code: Select all
jquery-ui.min.datepicker-1.13.3.js
Code: Select all
<!--<script type="text/javascript" src="jquery-ui-1.12.1-datepicker.js"></script>
<script src="https://code.jquery.com/ui/1.13.3/jquery-ui.js"></script>-->
<script src="jquery-ui.min.datepicker-1.13.3.js"></script>