Bug 23947: Phase out jquery.cookie.js: Authority merge
commit00047809c65dc06ca0a59e85c63d63229d3bee14
authorOwen Leonard <oleonard@myacpl.org>
Fri, 1 Nov 2019 18:15:53 +0000 (1 18:15 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 14 Feb 2020 20:12:01 +0000 (14 20:12 +0000)
tree222637e5b62c7b6398d96af9dbe8bbba9530f5bf
parent338a224620ed66554d8d85760e4a008495895d75
Bug 23947: Phase out jquery.cookie.js: Authority merge

This patch updates the JavaScript which sets cookies during the
authority merge process so that it uses the new js-cookie library.

To test, apply the patch and perform a search in the authority module
which will return multiple results.

 - Select "Merge" from the Actions menu next to any result.
   - A message should appear at the top of the page: "Merging with
     authority: <title>".
   - Click "Cancel merge." The message should disappear.
 - Select a record to merge again.
   - Select another record.
   - The page should redirect to the authority merge 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 a401f219481b3fc2a69c2ea5006e6e497d66b37b)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc