diff --git a/calendar/js/et2_widget_event.js b/calendar/js/et2_widget_event.js index 129f7fe8a7..5ac2e3b6e1 100644 --- a/calendar/js/et2_widget_event.js +++ b/calendar/js/et2_widget_event.js @@ -370,17 +370,27 @@ var et2_calendar_event = et2_valueWidget.extend([et2_IDetachedDOM], */ _icons: function() { var icons = []; - + if(this.options.value.is_private) { + // Hide everything icons.push(''); } else { + if(this.options.value.app !== 'calendar') + { + icons.push(''); + } if(this.options.value.priority == 3) { icons.push(''); } + if(this.options.value.public == '0') + { + // Show private flag + icons.push(''); + } if(this.options.value['recur_type']) { icons.push('');