From 35291db16b45b1b7f0433a6fb46f407577cac988 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Fri, 3 May 2024 14:14:42 +0000 Subject: [PATCH] Bug 36774: [DONT PUSH] TEST ONLY Test plan: 1) Apply only the TEST patch 2) Visit http://localhost:8081/cgi-bin/koha/serials/serials-home.pl 3) Click the "Expires before" input and insert any date 4) Click the "TEST" link under. It calls the native flatpickr.clear(): https://flatpickr.js.org/instance-methods-properties-elements/#clear 5) Notice it clears the date value. But it also appends a new 'x' icon to clear the input. 6) Apply 2nd patch. Repeat. Notice it works as expected --- .../intranet-tmpl/prog/en/modules/serials/serials-home.tt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt index 22e8960ea7..872f07637d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt @@ -56,6 +56,10 @@ [% Asset.js("js/serials-toolbar.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %] -- 2.39.2