[Koha-bugs] [Bug 29394] Remove flatpickr instantiations from .tt files

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 17 11:51:26 CET 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #127683|0                           |1
        is obsolete|                            |
 Attachment #127700|0                           |1
        is obsolete|                            |
 Attachment #127707|0                           |1
        is obsolete|                            |
 Attachment #127715|0                           |1
        is obsolete|                            |

--- Comment #10 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 127716
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127716&action=edit
Bug 29394: Remove flatpickr instantiations from most of the tt files

We must reduce the instantiations as much as possible to take advantages
of the default values and specific behaviours we have defined in
calendar.inc

This patch is suggesting to have a .flatpickr class and using the data
attributes:
- flatpickr-futuredate
- flatpickr-pastdate
- flatpickr-enable-time
- flatpickr-on-close-focus

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


More information about the Koha-bugs mailing list