Make sure only integrated infolog events get drag tags not other inegrated events from other apps

This commit is contained in:
Hadi Nategh 2014-08-21 14:33:55 +00:00
parent f381b9630a
commit 1c37e1ccb0

View File

@ -1869,7 +1869,7 @@ class calendar_uiviews extends calendar_ui
$z_index = is_null($z_index) ? 20 : (int)$z_index; $z_index = is_null($z_index) ? 20 : (int)$z_index;
if ($this->use_time_grid && if ($this->use_time_grid &&
$event['id'] && $this->bo->check_perms(EGW_ACL_EDIT,$event)) ((int)$event['id'] || substr($event['id'],0,7) == 'infolog') && $this->bo->check_perms(EGW_ACL_EDIT,$event))
{ {
if (!$event['whole_day_on_top'] && if (!$event['whole_day_on_top'] &&
!$event['whole_day'] && !$event['whole_day'] &&