[Koha-bugs] [Bug 29240] Flatpickr - error in the console when a date is selected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 19 14:08:56 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29240

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #126341|0                           |1
        is obsolete|                            |
 Attachment #126342|0                           |1
        is obsolete|                            |
 Attachment #126343|0                           |1
        is obsolete|                            |
 Attachment #126472|0                           |1
        is obsolete|                            |

--- Comment #27 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 126493
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126493&action=edit
Bug 29240: Centralise from/to handling

This patch moves to using a data-start_for attribute to point the 'from'
flatpickr to the 'to' flatpickr.

We also fix the date validation issue in the onClose handler inline.

Test plan.
1. Check that the from/to datpicker combinations work on each of the
   changed pages.
2. Look at the console for errors, there should be none

Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list