mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
small fix to not set the css class of templates or grids in a cell twice, it is not good for border
This commit is contained in:
parent
e435c63ad7
commit
266949f632
@ -574,7 +574,11 @@
|
||||
$row_data[".$col"] .= $this->html->formatOptions($cell['align']?$cell['align']:'left','align');
|
||||
$cl = $this->expand_name(isset($this->class_conf[$cl]) ? $this->class_conf[$cl] : $cl,
|
||||
$c,$r,$show_c,$show_row,$content);
|
||||
$row_data[".$col"] .= $this->html->formatOptions($cl,'class');
|
||||
// else the class is set twice, in the table and the table-cell, which is not good for borders
|
||||
if ($cl && $cell['type'] != 'template' && $cell['type'] != 'grid')
|
||||
{
|
||||
$row_data[".$col"] .= $this->html->formatOptions($cl,'class');
|
||||
}
|
||||
}
|
||||
$rows[$row] = $row_data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user