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)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 10 Feb 2020 22:53:39 +0000 (22:53 +0000)
commit3d1b347be03267dd71302d4ea845471e3d6d43a9
treedfcceda18951534b3cac5dc9c1b2fbea3178dbfa
parentcf36c544f56aa6e646701113878e5005bf99642a
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>
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