mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 03:41:53 +02: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)
|
set_value(value)
|
||||||
{
|
{
|
||||||
if(!value || value == 0 || value == "0" || typeof value !== "string")
|
if(typeof value !== "string" && value.length == 8)
|
||||||
{
|
|
||||||
return super.set_value(value);
|
|
||||||
}
|
|
||||||
if(value.length == 8)
|
|
||||||
{
|
{
|
||||||
super.set_value(parseDate(value, "Ymd"));
|
super.set_value(parseDate(value, "Ymd"));
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
super.set_value(value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user