mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02:00
When nm is on a tab, need to resize the nm when the tab is shown to get proper sizing
This commit is contained in:
parent
dd26311295
commit
be82f32b68
@ -1256,6 +1256,14 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
|
|||||||
|
|
||||||
else if(tab && tab.contentDiv)
|
else if(tab && tab.contentDiv)
|
||||||
{
|
{
|
||||||
|
// Bind a resize while we're here
|
||||||
|
if(tab.flagDiv)
|
||||||
|
{
|
||||||
|
tab.flagDiv.addEventListener("click", (e) =>
|
||||||
|
{
|
||||||
|
window.setTimeout(() => this.resize(), 1);
|
||||||
|
});
|
||||||
|
}
|
||||||
return new et2_dynheight(tab.contentDiv, this.innerDiv, 100);
|
return new et2_dynheight(tab.contentDiv, this.innerDiv, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user