Bug 34623: Update jQuery-validate plugin to 1.20.0
authorOwen Leonard <oleonard@myacpl.org>
Wed, 20 Dec 2023 16:12:55 +0000 (16:12 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 19 Feb 2024 13:41:11 +0000 (14:41 +0100)
commit8c18a734930aa08823c344107db167c1937dc974
treed094e7e5319b0e836fd27eff3df653d46a1995e3
parentc4d348651192eaed83d13df4f7d166b977690e6d
Bug 34623: Update jQuery-validate plugin to 1.20.0

This patch updates the jQuery validation plugin in both the staff
interface and the OPAC to the latest version, 1.20.0.

To test, apply the patch and clear your browser cache if necessary.

Test various pages in the staff client to confirm that form validation
works as expected:

 - Patron password change form:
   - Password must conform to minPasswordLength
   - Password must not contain leading/trailing spaces
   - Passwords must match

 - Administration -> Add or edit budget:
   - Description, start date, and end date are required
   - Start date must be before end date

 - Administration -> Add or edit Z39.50/SRU server:
   - Server name, hostname, port, and database are required
   - Port, rank, and timeout must be a number

Perform the same check of the "Change password" form in the OPAC.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
(cherry picked from commit 8deffec3155f54b7209f1465942fd8fbea23da5e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.validate.min.js
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt
koha-tmpl/opac-tmpl/lib/jquery/plugins/jquery.validate.min.js