mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 11:29:23 +01:00
Calendar: Avoid JS error from flatpickr on init (provided an invalid date)
This commit is contained in:
parent
2a18d8ec48
commit
c248a79b25
@ -138,7 +138,7 @@ export class SidemenuDate extends Et2Date
|
||||
|
||||
set_value(value)
|
||||
{
|
||||
if(typeof value !== "string" && value.length == 8)
|
||||
if(typeof value === "string" && value.length == 8)
|
||||
{
|
||||
super.set_value(parseDate(value, "Ymd"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user