[Koha-bugs] [Bug 29735] Remove flatpickr instantiations from .js files

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 20 12:25:00 CET 2021


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

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 128733
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128733&action=edit
Bug 29735: Remove flatpickr init from categories.js and holds.js

Same as bug 29394, we want the flatpickr instanciations be done at the
same place, from calendar.inc. That way they will all behave
identically.

Test plan:
Edit a patron category and confirm that the "until date" calendar has
the "yesterday" and "today" dates disabled

Place a hold on an item, go to the patron detail page, click the "holds"
tab, suspend.
That should trigger a modal that will display a calendar with
"yesterday" and "today" dates disabled

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


More information about the Koha-bugs mailing list