diff --git a/api/js/etemplate/et2_widget_link.js b/api/js/etemplate/et2_widget_link.js index f40fb76f83..844bd51715 100644 --- a/api/js/etemplate/et2_widget_link.js +++ b/api/js/etemplate/et2_widget_link.js @@ -1298,7 +1298,7 @@ var et2_link = (function(){ "use strict"; return et2_valueWidget.extend([et2_IDe { this.link.addClass("et2_link"); this.link.click( function(e){ - self.egw().open(_value, "", self.options.link_hook,null,_value.app,_value.app); + self.egw().open(_value, "", self.options.link_hook,_value.extra_args,_value.app,_value.app); e.stopImmediatePropagation(); }); } diff --git a/api/src/Contacts.php b/api/src/Contacts.php index 731b8f9775..15f8450fc0 100755 --- a/api/src/Contacts.php +++ b/api/src/Contacts.php @@ -1726,16 +1726,17 @@ class Contacts extends Contacts\Storage if (!$contacts) return array(); // Extract the event info and generate what is needed for next/last event - $do_event = function($key, $contact) use (&$bocal, &$calendars, $type) + $do_event = function($key, $contact) use (&$bocal, &$calendars, $type, $extra_title) { list($start, $cal_id, $recur_date) = explode(':', $contact[$key.'_event']); $link = array( - 'id' => $cal_id, + 'id' => $cal_id,//.':'.$start, 'app' => 'calendar', - 'title' => $bocal->link_title($cal_id . ($recur_date ? '-'.$recur_date : '')), + 'title' => $bocal->link_title($cal_id . ($start ? '-'.$start : '')), 'extra_args' => array( - 'date' => date('Ymd',$start), + 'date' => \EGroupware\Api\DateTime::server2user($start,\EGroupware\Api\DateTime::ET2), + 'exception'=> 1 ), ); if ($extra_title)