mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix error / tabData was not passed
This commit is contained in:
parent
c1a4cceee1
commit
6d34931784
@ -217,7 +217,7 @@ export class Et2Tabs extends Et2InputWidget(SlTabGroup) implements et2_IResizeab
|
|||||||
this.createTabs(tabData);
|
this.createTabs(tabData);
|
||||||
|
|
||||||
// Use the height of the first tab if height not set
|
// Use the height of the first tab if height not set
|
||||||
this._sizeTabs();
|
this._sizeTabs(tabData);
|
||||||
|
|
||||||
// Load any additional child nodes
|
// Load any additional child nodes
|
||||||
for(let i = 0; i < _node.childNodes.length; i++)
|
for(let i = 0; i < _node.childNodes.length; i++)
|
||||||
@ -240,7 +240,7 @@ export class Et2Tabs extends Et2InputWidget(SlTabGroup) implements et2_IResizeab
|
|||||||
* Use the height of the first tab if height not set
|
* Use the height of the first tab if height not set
|
||||||
* @protected
|
* @protected
|
||||||
*/
|
*/
|
||||||
protected _sizeTabs()
|
protected _sizeTabs(tabData : Array<object>)
|
||||||
{
|
{
|
||||||
if(!this.tabHeight && tabData.length > 0)
|
if(!this.tabHeight && tabData.length > 0)
|
||||||
{
|
{
|
||||||
|
@ -35,7 +35,7 @@ export class Et2TabsMobile extends Et2Tabs
|
|||||||
* Use the height of the first tab if height not set
|
* Use the height of the first tab if height not set
|
||||||
* @protected
|
* @protected
|
||||||
*/
|
*/
|
||||||
protected _sizeTabs()
|
protected _sizeTabs(tabDates : Array<object>)
|
||||||
{
|
{
|
||||||
// no need to do anything, as we use details
|
// no need to do anything, as we use details
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user