mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 16:29:22 +01:00
Et2LinkEntry: Fix value of null caused error
This commit is contained in:
parent
e9a797acce
commit
ab07b3dee3
@ -356,7 +356,7 @@ export class Et2LinkEntry extends Et2InputWidget(FormControlMixin(ValidateMixin(
|
||||
{
|
||||
value.id = String(val);
|
||||
}
|
||||
else if(typeof val === "object") // object with attributes: app, id, title
|
||||
else if(typeof val === "object" && val !== null) // object with attributes: app, id, title
|
||||
{
|
||||
value = (<LinkInfo>val);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user