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

--- Comment #35 from Jonathan Druart <[email protected]> ---
(In reply to Marcel de Rooy from comment #29)
> (In reply to Jonathan Druart from comment #25)
> > Marcel, I think I have fixed the problem you were facing. However I am
> > failing at hiding the error (not a JS Error object, but something appearing
> > in the console) raised by is_valid_date (actually flatpickr.parseDate) when
> > we have "None defined".
> > 
> > I have tried to silent it (with an option) but errorHandler in flatpickr is
> > not documented (and I don't find a way to pass it when using parseDate as a
> > static method).
> > 
> > The only possible solution I found is to temporary override console.warn,
> > but this sounds terribly wrong.
> 
> I was not able to recreate a JS error in the console.

With the sample data, click "Edit"
=> "Error: Invalid date provided: defined"

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to