]> git.koha-community.org Git - koha.git/commit
Bug 23944: Phase out use of jquery.cookie.js in favor of js.cookie.js
authorOwen Leonard <oleonard@myacpl.org>
Fri, 1 Nov 2019 13:00:03 +0000 (13:00 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 14 Feb 2020 18:52:14 +0000 (18:52 +0000)
commitae7143a74d783e0e8f4623bf5afa9eeef2eaf6b8
tree45ad29c0fd1098d168880445b2fdc06ca4421ba1
parent47797cb4f90142714690cbdfec7baff49b3a2d0f
Bug 23944: Phase out use of jquery.cookie.js in favor of js.cookie.js

This patch adds a new JavaScript file to the staff client's global
JavaScript include file: js.cookie-2.2.1.min.js. This "plugin" will
replace jquery.cookie.js which is no longer maintained.

The "About" page in the staff client is updated to include this new
resource as well as adding previously-missing information about the old
plugin which will remain until all instances of its usage have been
removed.

To test, apply the patch and check the About page to confirm the correct
information is included.

No functionality change is introduced by this bug. The only other
observable change is the existence of the new files and the inclusion of
the minified version of the file in any staff client page.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 3d1b347be03267dd71302d4ea845471e3d6d43a9)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/lib/js-cookie/js.cookie-2.2.1.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/js-cookie/js.cookie-2.2.1.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt