mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix nextmatch rendering issue when it's inside an inactive tab
This commit is contained in:
parent
5e48cbe78c
commit
8d359ee39f
@ -415,6 +415,14 @@ var et2_tabbox = (function(){ "use strict"; return et2_valueWidget.extend([et2_I
|
||||
// container
|
||||
this.flagContainer.children(":eq(" + _idx + ")").addClass("active");
|
||||
this.tabContainer.children(":eq(" + _idx + ")").show();
|
||||
|
||||
// lookup for nm children and trigger a resize, since nm inside inactive
|
||||
// tabs are not getting render due to tab's deffer loading.
|
||||
if (this._children.length > 0 && this.tabData && this.tabData.length > 0) {
|
||||
this.tabData[_idx]['widget'].iterateOver(function(nm){
|
||||
if (nm && nm._type == 'nextmatch') nm.resize();
|
||||
}, this.tabData[_idx]['widget'], et2_nextmatch);
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user