mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Don't try to take extra size from already too small columns
This commit is contained in:
parent
71e62f24f3
commit
362c61e0ae
@ -429,7 +429,11 @@ var et2_dataview_columns = Class.extend({
|
|||||||
// Pick the first relative column and use it
|
// Pick the first relative column and use it
|
||||||
for(columnIndex = 0; columnIndex < this.columns.length; columnIndex++)
|
for(columnIndex = 0; columnIndex < this.columns.length; columnIndex++)
|
||||||
{
|
{
|
||||||
if(this.columns[columnIndex].visibility == ET2_COL_VISIBILITY_INVISIBLE) continue;
|
if(this.columns[columnIndex].visibility == ET2_COL_VISIBILITY_INVISIBLE ||
|
||||||
|
this.columnWidths[columnIndex] <= 0)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
var col = this.columns[columnIndex];
|
var col = this.columns[columnIndex];
|
||||||
if(col.relativeWidth || !col.fixedWidth)
|
if(col.relativeWidth || !col.fixedWidth)
|
||||||
|
Loading…
Reference in New Issue
Block a user