mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:18:54 +01:00
fix invalid javascript variable names for draggable/droppable IDs when owner/calendar is a group
This commit is contained in:
parent
53ebb5dc19
commit
01afc4aff5
@ -1058,7 +1058,7 @@ function open_edit(series)
|
|||||||
if ($owner) $linkData['owner'] = $owner;
|
if ($owner) $linkData['owner'] = $owner;
|
||||||
|
|
||||||
$droppableDateTime = $linkData['date'] . "T" . $linkData['hour'] . $linkData['minute'];
|
$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".'<div id="' . $droppableID . '" style="height:'. $this->rowHeight .'%; top: '. $i*$this->rowHeight .
|
$html .= $indent."\t".'<div id="' . $droppableID . '" style="height:'. $this->rowHeight .'%; top: '. $i*$this->rowHeight .
|
||||||
'%;" class="calAddEvent"';
|
'%;" class="calAddEvent"';
|
||||||
@ -1394,7 +1394,7 @@ function open_edit(series)
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$draggableID = 'drag_'.$event['id'].'_O'.$event['owner'].'_C'.$owner;
|
$draggableID = 'drag_'.$event['id'].'_O'.$event['owner'].'_C'.($owner<0?str_replace('-','group',$owner):$owner);
|
||||||
|
|
||||||
$ttip_options = array(
|
$ttip_options = array(
|
||||||
'BorderWidth' => 0, // as we use our round borders
|
'BorderWidth' => 0, // as we use our round borders
|
||||||
|
Loading…
Reference in New Issue
Block a user