]> git.koha-community.org Git - koha.git/commit
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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 29 Jan 2020 09:09:33 +0000 (09:09 +0000)
commitd12f50a2e57e8ce84b7761c154b82d42051b9c4a
treef88bc6e2e25a1c1a6e58bd1f140c055dbe2055fe
parent54c821a9e8df8a0cbc0a74a83fe605cd27cd40ac
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>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc