"colspan='all' was only working in the first grid of the template"

This commit is contained in:
Ralf Becker 2008-05-24 08:42:43 +00:00
parent 62ca85a1b8
commit 1f144e4670

View File

@ -814,7 +814,7 @@ class etemplate extends boetemplate
$row_data[".$col"] .= ' onclick="'.$this->js_pseudo_funcs($onclick,$cname).'"' .
($cell['id'] ? ' id="'.$cell['id'].'"' : '');
}
$colspan = $span == 'all' ? $this->cols-$c : 0+$span;
$colspan = $span == 'all' ? $grid['cols']-$c : 0+$span;
if ($colspan > 1)
{
$row_data[".$col"] .= " colspan=\"$colspan\"";