]> git.koha-community.org Git - koha.git/commit
Bug 29735: Remove flatpickr init from categories.js and holds.js
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Dec 2021 11:02:45 +0000 (12:02 +0100)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 14 Jan 2022 14:32:17 +0000 (09:32 -0500)
commit40f8b38111e71d87bfcff4f9158da4e9d8175595
tree81966061c40b83f96aae3c416537ae7b9c23cd20
parent0a5ae5a06d6e7c2bb34ef336dbd9dd7216e38337
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

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
koha-tmpl/intranet-tmpl/prog/js/categories.js
koha-tmpl/intranet-tmpl/prog/js/holds.js