From 01afc4aff58adf1f4a402f992d8d05af4c5ee121 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 14 Jun 2010 08:11:22 +0000 Subject: [PATCH] fix invalid javascript variable names for draggable/droppable IDs when owner/calendar is a group --- calendar/inc/class.calendar_uiviews.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_uiviews.inc.php b/calendar/inc/class.calendar_uiviews.inc.php index f57e5927b2..3736afdafe 100644 --- a/calendar/inc/class.calendar_uiviews.inc.php +++ b/calendar/inc/class.calendar_uiviews.inc.php @@ -1058,7 +1058,7 @@ function open_edit(series) if ($owner) $linkData['owner'] = $owner; $droppableDateTime = $linkData['date'] . "T" . $linkData['hour'] . $linkData['minute']; - $droppableID='drop_'.$droppableDateTime.'_O'.$owner; + $droppableID='drop_'.$droppableDateTime.'_O'.($owner<0?str_replace('-','group',$owner):$owner); $html .= $indent."\t".'
0, // as we use our round borders