Bug 35640: Upgrade FileSaver JS library to v2.0.4
authorOwen Leonard <oleonard@myacpl.org>
Fri, 22 Dec 2023 13:19:15 +0000 (13:19 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 22 Mar 2024 09:35:27 +0000 (10:35 +0100)
commit59b940300ccaa7bfb9f6b3135df7ddbd8ca85e43
tree8d36155655d09b395b4e431f19be4ed772eac939
parent9cb286e36d4f3dffe0a0b965487573f829a7ddfe
Bug 35640: Upgrade FileSaver JS library to v2.0.4

This patch upgrades filesaver.js from an unknown version added in 2015
to v2.0.4 which was released in 2020. The patch also moves the asset to
its own directory for consistency's sake.

To test, apply the patch and clear your browser cache if necessary.

- Locate a bibliographic record in the staff interface and edit it.
- Switch to the advanced editor.
- Click the dropdown menu next to the "Save to catalog" button, and test
  both the "Save as MARC" and "Save as MARCXML" controls.
- In both cases the record should be downloaded correctly.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/lib/filesaver.js [deleted file]
koha-tmpl/intranet-tmpl/lib/filesaver/FileSaver.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt