]> git.koha-community.org Git - koha.git/commit
Bug 30523: Quiet console warning about missing shortcut-buttons map file
authorOwen Leonard <oleonard@myacpl.org>
Wed, 13 Apr 2022 12:18:13 +0000 (12:18 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Tue, 21 Jun 2022 12:53:23 +0000 (14:53 +0200)
commit6db6676aa94d1c4ab09ded9210ed8ba88c2cc3c4
tree5ba16e3f2312308608123141f6d450a54fa35b42
parent08b39167546295922235918a19915c1b9a23de8c
Bug 30523: Quiet console warning about missing shortcut-buttons map file

This patch updates the Flatpickr plugin shortcut-buttons which adds the
"Yesterday," "Today," and "Tomorrow" links to Flatpickr widgets.  This
updates it to the latest version, 0.4.0.

The file is modified in two ways: The version information is added to
the top of the file, and the sourceMappingURL line is removed from the
bottom. This quiets browser console warnings about a missing map file.

To test:
- apply the patch and clear your browser cache.
- Go to Circulation -> Check out and check out to a patron.
- Click "Checkout settings" and click the "Specify due date" field.
- In the pop-up calendar, test all controls, including the shortcut
  links, to confirm that everything works as before.
- In the browser console there should be no warning related to
  shortcut-buttons-flatpickr. (Firefox didn't have the warning, Chromium
  can be used.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit fcb08b0e932a2ce1b70e90b2c7219aebc72ac4f4)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 9371bc6ef3c70079ce7d2d2a79b2d105e8fbab7a)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/lib/flatpickr/shortcut-buttons-flatpickr.min.js