Bugzilla – Attachment 126259 Details for
Bug 29240
Flatpickr - error in the console when a date is selected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29240: Remove error in console when date is incorrect
Bug-29240-Remove-error-in-console-when-date-is-inc.patch (text/plain), 1.54 KB, created by
Jonathan Druart
on 2021-10-14 09:15:42 UTC
(
hide
)
Description:
Bug 29240: Remove error in console when date is incorrect
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-10-14 09:15:42 UTC
Size:
1.54 KB
patch
obsolete
>From d57d15285351d51c6e8a2a053347a7e534c6c058 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 14 Oct 2021 11:15:14 +0200 >Subject: [PATCH] Bug 29240: Remove error in console when date is incorrect > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >index aef5938d8e1..2bc97f76381 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >@@ -58,20 +58,20 @@ > }); > }, > onClose: function( selectedDates, dateText, instance) { >- validate_date( selectedDates, instance ); >+ validate_date( dateText, instance ); > }, > }); > $(document).ready(function(){ > $(".flatpickr").flatpickr(); > var startPicker = $(".flatpickrfrom").flatpickr({ > onClose: function( selectedDates, dateText, instance) { >- validate_date( selectedDates, instance ); >+ validate_date( dateText, instance ); > endPicker.set('minDate', selectedDates[0]); > } > }); > var endPicker = $(".flatpickrto").flatpickr({ > onClose: function( selectedDates, dateText, instance) { >- validate_date( selectedDates, instance ); >+ validate_date( dateText, instance ); > }, > }); > >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29240
:
126259
|
126286
|
126293
|
126294
|
126295
|
126301
|
126309
|
126341
|
126342
|
126343
|
126472
|
126493
|
126494
|
126495