From 4c167a2d80c2282248dda485af1b1211611e677c Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 4 May 2016 15:09:37 +0000 Subject: [PATCH] Revert r55868, hide participants for private events --- calendar/inc/class.calendar_uilist.inc.php | 2 -- calendar/js/et2_widget_event.js | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/calendar/inc/class.calendar_uilist.inc.php b/calendar/inc/class.calendar_uilist.inc.php index 536717702e..b301510ed7 100644 --- a/calendar/inc/class.calendar_uilist.inc.php +++ b/calendar/inc/class.calendar_uilist.inc.php @@ -430,8 +430,6 @@ class calendar_uilist extends calendar_ui if ($is_private) { $event['class'] .= 'rowNoView '; - // Hide participants for private events - $event['parts'] = ''; } $event['app'] = 'calendar'; diff --git a/calendar/js/et2_widget_event.js b/calendar/js/et2_widget_event.js index e3090ed45a..1210eac1fd 100644 --- a/calendar/js/et2_widget_event.js +++ b/calendar/js/et2_widget_event.js @@ -506,10 +506,8 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten '

'+times+'

'+ (this.options.value.location ? '

'+this.egw().lang('Location') + ':' + this.options.value.location+'

' : '')+ (cat_label ? '

'+this.egw().lang('Category') + ':' + cat_label +'

' : '')+ - (this.options.value.parts ? - '

'+this.egw().lang('Participants')+':
'+ - this.options.value.parts.replace("\n","
")+'

':'' - )+ + '

'+this.egw().lang('Participants')+':
'+ + (this.options.value.parts ? this.options.value.parts.replace("\n","
"):'')+'

'+ ''+ ''; },