mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 22:01:47 +01:00
Avoid error when getting tab height from parent
This commit is contained in:
parent
ae4b8de4e5
commit
111e337db1
@ -105,9 +105,9 @@ export class Et2Tabs extends Et2Widget(SlTabGroup)
|
|||||||
|
|
||||||
// Check for a parent height, we'll apply it to tab panels
|
// Check for a parent height, we'll apply it to tab panels
|
||||||
var height = et2_readAttrWithDefault(_node.parentNode, "height", null);
|
var height = et2_readAttrWithDefault(_node.parentNode, "height", null);
|
||||||
if(height)
|
if(height && !this.tabHeight)
|
||||||
{
|
{
|
||||||
this.tabContainer.css("height", height);
|
this.tabHeight = height;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if no tabs set or they should be added to tabs from xml
|
// if no tabs set or they should be added to tabs from xml
|
||||||
|
Loading…
Reference in New Issue
Block a user