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:26:27 +00:00
parent 08abe654ac
commit 49fd7287ff

View File

@ -1869,7 +1869,7 @@ class calendar_uiviews extends calendar_ui
$z_index = is_null($z_index) ? 20 : (int)$z_index;
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'] &&
!$event['whole_day'] &&