]> git.koha-community.org Git - koha.git/commit
Bug 35014: Only set time for enable-time flatpickr
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 9 Oct 2023 15:37:22 +0000 (16:37 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 10 Oct 2023 12:58:55 +0000 (09:58 -0300)
commit5b25b26f70c21c609793f10706c04c9dbce4a5ad
treeb69f2835c44dc2abc263dee1ebc7a22af2febe6d
parent69a19fb5261bf1f7df4cba889a7b33b40bf57005
Bug 35014: Only set time for enable-time flatpickr

This patch adds a check to the onChange function such that we only
attempt to set the default time on change for time enabled flatpickrs
when the date is entered manually.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc