fixed missing space when adding multiple classes, causing context menu not recognising readonly, if also not deletable

This commit is contained in:
Ralf Becker 2011-04-28 09:14:31 +00:00
parent 8247d55fc1
commit b509c6cfbe

View File

@ -697,12 +697,12 @@ class timesheet_ui extends timesheet_bo
if (!$this->check_acl(EGW_ACL_EDIT,$row)) if (!$this->check_acl(EGW_ACL_EDIT,$row))
{ {
$readonlys["edit[$row[ts_id]]"] = true; $readonlys["edit[$row[ts_id]]"] = true;
$row['class'] .= ' rowNoEdit'; $row['class'] .= ' rowNoEdit ';
} }
if (!$this->check_acl(EGW_ACL_DELETE,$row)) if (!$this->check_acl(EGW_ACL_DELETE,$row))
{ {
$readonlys["delete[$row[ts_id]]"] = true; $readonlys["delete[$row[ts_id]]"] = true;
$row['class'] .= ' rowNoDelete'; $row['class'] .= ' rowNoDelete ';
} }
if ($query['col_filter']['ts_project'] || !$query['filter2']) if ($query['col_filter']['ts_project'] || !$query['filter2'])
{ {