mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix weird nm column sizing in infolog.
Depending on favorite settings, changing favorite (or 'No filters') caused incorrect column sizing in nm list
This commit is contained in:
parent
4993beef08
commit
0b8c108279
@ -739,7 +739,24 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.update_in_progress = false;
|
// Wait a bit. header.setFilters() can cause webComponents to update, so we want to wait for that
|
||||||
|
let wait = [];
|
||||||
|
this.iterateOver(w =>
|
||||||
|
{
|
||||||
|
if(typeof w.updateComplete != "undefined")
|
||||||
|
{
|
||||||
|
wait.push(w.updateComplete);
|
||||||
|
}
|
||||||
|
}, this);
|
||||||
|
setTimeout(() =>
|
||||||
|
{
|
||||||
|
// It needs a little longer than just the updateComplete, not sure why.
|
||||||
|
// Turning it off too soon causes problems with app.infolog.filter2_change
|
||||||
|
Promise.allSettled(wait).then(() =>
|
||||||
|
{
|
||||||
|
this.update_in_progress = false;
|
||||||
|
});
|
||||||
|
}, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user