Bug 23947: Phase out jquery.cookie.js: Authority merge
authorOwen Leonard <oleonard@myacpl.org>
Fri, 1 Nov 2019 18:15:53 +0000 (18:15 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 10 Feb 2020 22:54:14 +0000 (22:54 +0000)
commita401f219481b3fc2a69c2ea5006e6e497d66b37b
treed952eb7ac05a8369108b76137654453db78bd008
parentec1073a23a7b93ec26feecd84e466b99d7748f99
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>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc