mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Calendar: Changing date using buttons in toolbar did not update sidemenu calendar to match
This commit is contained in:
parent
018dd11bd2
commit
1b32b124c4
@ -127,14 +127,14 @@ export class SidemenuDate extends Et2Date
|
||||
|
||||
set_value(value)
|
||||
{
|
||||
if(!value || value == 0 || value == "0" || typeof value !== "string")
|
||||
{
|
||||
return super.set_value(value);
|
||||
}
|
||||
if(value.length == 8)
|
||||
if(typeof value !== "string" && value.length == 8)
|
||||
{
|
||||
super.set_value(parseDate(value, "Ymd"));
|
||||
}
|
||||
else
|
||||
{
|
||||
super.set_value(value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user