mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix JS error on displaying validation message, probably when tab is not yet loaded
This commit is contained in:
parent
1d86f1712a
commit
8b0e5867cb
@ -349,7 +349,7 @@ export abstract class et2_DOMWidget extends et2_widget implements et2_IDOMNode
|
||||
{
|
||||
// Find the tab by DOM heritage
|
||||
// @ts-ignore
|
||||
if(tabbox.tabData[i].contentDiv.contains(this.div[0] || this))
|
||||
if(tabbox.tabData[i].contentDiv?.contains(this.div[0] || this))
|
||||
{
|
||||
return tabbox.tabData[i];
|
||||
}
|
||||
@ -979,4 +979,4 @@ export class et2_action_object_impl
|
||||
{
|
||||
return this.aoi;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user