Need to pass datetime and url parameters to getDeleteUrl() as well. Deleting the
'current' recurrence fails without the datetime parameter, and returning to the
previous view after deletion fails without the url parameter.
. '</a>';
}
if ($this->hasPermission(Horde_Perms::DELETE)) {
- $link .= $this->getDeleteUrl()
+ $link .= $this->getDeleteUrl(
+ array('datetime' => $datetime->strftime('%Y%m%d%H%M%S'),
+ 'url' => $from_url))
->link(array('title' => sprintf(_("Delete %s"), $event_title),
'class' => 'iconDelete'))
. Horde::fullSrcImg('delete-' . $icon_color . '.png',