mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-16 19:41:45 +02:00
Etemplate: Avoid trying to repaint datagrid while it's hidden
Avoids an infinite(?) loop and endless "[Violation] 'setTimeout' handler took <N>ms" messages
This commit is contained in:
@ -893,6 +893,11 @@ export class et2_dataview_grid extends et2_dataview_container implements et2_dat
|
||||
{
|
||||
if(!this.doInvalidate) return;
|
||||
|
||||
// Not visible?
|
||||
if(jQuery(":visible",this.outerCell).length == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
// Update the pixel positions
|
||||
this._recalculateElementPosition();
|
||||
|
||||
|
Reference in New Issue
Block a user