mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
stoping requesting more and more rows causing browser to stall, if browser does not give us height for rows (probably because it defered rendering)
This commit is contained in:
parent
5efd6c7787
commit
5ec55f9c16
@ -425,8 +425,8 @@ var et2_dataview_grid = et2_dataview_container.extend(et2_dataview_IViewRange,
|
||||
}
|
||||
}
|
||||
|
||||
// Calculate the average height
|
||||
if (avgCount > 0)
|
||||
// Calculate the average height, but only if we have a height
|
||||
if (avgCount > 0 && avgSum > 0)
|
||||
{
|
||||
this._avgHeight = avgSum / avgCount;
|
||||
this._avgCount = avgCount;
|
||||
|
Loading…
Reference in New Issue
Block a user