]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 2 Nov 2023 20:26:47 +0000 (10:26 -1000)
commit72788474b511f84af813c9ccde47039f4edb3caa
tree244ffc722e29ce45a2e072f8f3530ddfebf6954e
parent9250630098cdad674baaf0d6b71a437099a362e7
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: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc