[Koha-bugs] [Bug 30523] Quiet console warning about missing shortcut-buttons map file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 14 14:05:18 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30523

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 133305
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133305&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list