mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user