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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 29 Jan 2020 09:08:30 +0000 (09:08 +0000)
commit68c9273fa76cedf8de48d4284693b5058ca5fdbd
tree294f3543b843d644d3f2b85ac18e04310ebb87bb
parent0cdd62600b85721f6f1704138fdf56b94ba15d52
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>
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