forked from extern/egroupware
"colspan='all' was only working in the first grid of the template"
This commit is contained in:
parent
62ca85a1b8
commit
1f144e4670
@ -814,7 +814,7 @@ class etemplate extends boetemplate
|
|||||||
$row_data[".$col"] .= ' onclick="'.$this->js_pseudo_funcs($onclick,$cname).'"' .
|
$row_data[".$col"] .= ' onclick="'.$this->js_pseudo_funcs($onclick,$cname).'"' .
|
||||||
($cell['id'] ? ' id="'.$cell['id'].'"' : '');
|
($cell['id'] ? ' id="'.$cell['id'].'"' : '');
|
||||||
}
|
}
|
||||||
$colspan = $span == 'all' ? $this->cols-$c : 0+$span;
|
$colspan = $span == 'all' ? $grid['cols']-$c : 0+$span;
|
||||||
if ($colspan > 1)
|
if ($colspan > 1)
|
||||||
{
|
{
|
||||||
$row_data[".$col"] .= " colspan=\"$colspan\"";
|
$row_data[".$col"] .= " colspan=\"$colspan\"";
|
||||||
|
Loading…
Reference in New Issue
Block a user