From a3dd819d38b129ad55ea722fc6bafcf93c5b8101 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 18 May 2021 09:10:26 +0200 Subject: [PATCH] Bug 28351: (bug 26261) Fix datepicker for dateformat ne mm/dd/yyyy This patch restores the same code we have prior to bug 26261 --- koha-tmpl/intranet-tmpl/prog/js/calendar.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/calendar.js b/koha-tmpl/intranet-tmpl/prog/js/calendar.js index 2b335ec9bcb..1f312e813da 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/calendar.js +++ b/koha-tmpl/intranet-tmpl/prog/js/calendar.js @@ -192,8 +192,6 @@ $(document).ready(function () { }).on("change", function () { if (!is_valid_date($(this).val())) { $(this).val(""); - } else { - $(this).datepicker("setDate",$(this).val()); } }); // http://jqueryui.com/demos/datepicker/#date-range -- 2.20.1