fixed not disabled alarm delete button, if user has no edit rights (already gave a permission denied message)

This commit is contained in:
Ralf Becker 2011-03-07 10:18:20 +00:00
parent 3bb9e89bcf
commit 3dfe00c4bc

View File

@ -1354,7 +1354,7 @@ function replace_eTemplate_onsubmit()
$alarm['offset'] = implode(', ',$label) . ' ' . ($after ? lang('after') : lang('before'));
$content['alarm'][] = $alarm;
$readonlys['delete_alarm['.$id.']'] = !$this->bo->check_perms(EGW_ACL_EDIT,$alarm['all'] ? $event : 0,$alarm['owner']);
$readonlys['delete_alarm['.$alarm['id'].']'] = !$this->bo->check_perms(EGW_ACL_EDIT,$alarm['all'] ? $event : 0,$alarm['owner']);
}
}
else