if we have onclick or tooltip, add it to an extra div around single element of a box

This commit is contained in:
Ralf Becker 2013-06-05 13:13:09 +00:00
parent 12f4018fd2
commit 53006a471c

View File

@ -1803,6 +1803,8 @@ class etemplate_old extends boetemplate
elseif ($box_item_class && $box_anz == 1)
{
$class = ($class ? $class . ' ' : '') . $box_item_class;
// if we have onclick or tooltip, add it to an extra div around single cell
if (!empty($rows[$box_row]['.'.$box_col])) $html = html::div($html, $rows[$box_row]['.'.$box_col]);
}
if ($type == 'groupbox')
{