From 0f04c9a26afe02824e1c3b213a4c0f8ad212278c Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 17 Jul 2024 14:50:42 +0000 Subject: [PATCH] Bug 37371: Set overwrite mode to replace In our case I think overwriteMode needs to be set to replace: https://maskito.dev/core-concepts/overwrite-mode Signed-off-by: Owen Leonard Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc index 6dc58c4059..8d60a21370 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc @@ -97,11 +97,13 @@ dateMode: altinput_dateformat, timeMode: 'HH:MM', dateSeparator: delimiter, + overwiteMode: 'replace', }); } else { maskitoOptions = maskitoDateOptionsGenerator({ mode: altinput_dateformat, separator: delimiter, + overwiteMode: 'replace', }); } } -- 2.39.5