]> git.koha-community.org Git - koha.git/commit
Bug 24621: Phase out jquery.cookie.js: Basic MARC editor
authorOwen Leonard <oleonard@myacpl.org>
Mon, 10 Feb 2020 19:04:57 +0000 (19:04 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 5 Mar 2020 01:42:19 +0000 (01:42 +0000)
commita2fe9fa991bc074c4703729b0f459a40a2cc0eb4
tree1bacd433522f01b9e9859d7fc238820d35840d4a
parentfb45f5bb98c07ac544184b8ffa029f1f5702e993
Bug 24621: Phase out jquery.cookie.js: Basic MARC editor

This patch removes the use of the jquery.cookie plugin by the basic MARC
editor for setting two interface preferences: Showing MARC tag numbers
and showing MARC documentation links.

To test, apply the patch and open the basic MARC editor.

 - From the "Settings" menu, select the "Show MARC tag documentation
   links" link. This should toggle the display of the "?" link next to
   MARC tag descriptions.
 - Reload the page to confirm that your selection has been saved.
 - Perform the same test with the "Show tags" menu item.

You can also follow the changes to the cookie using the browser's
developer console. Look for cookies named 'marcdocs_***' and
'marctags_***' (where *** is the borrowernumber of the logged-in
user) and confirm that the value of each flips from "show" to "hide" and
back.

https://developer.mozilla.org/en-US/docs/Tools/Storage_Inspector
https://developers.google.com/web/tools/chrome-devtools/storage/cookies

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/modules/cataloguing/addbiblio.tt