]> 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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Fri, 3 Nov 2023 14:06:20 +0000 (14:06 +0000)
commit871b100badaf11ee36c447a485d858f4f57631c9
tree8a011f7de5b590e79e7dfac30117de289e1fcd79
parent56fb0d327571505397fdbcf0540f20225c590e92
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>
(cherry picked from commit 5b25b26f70c21c609793f10706c04c9dbce4a5ad)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc