diff --git a/calendar/js/et2_widget_timegrid.js b/calendar/js/et2_widget_timegrid.js index c94efb83f5..fd1b522513 100644 --- a/calendar/js/et2_widget_timegrid.js +++ b/calendar/js/et2_widget_timegrid.js @@ -1595,7 +1595,11 @@ var et2_calendar_timegrid = et2_calendar_view.extend([et2_IDetachedDOM, et2_IRes result = this.onclick.apply(this, args); } - if(event.id && result && !this.disabled && !this.options.readonly) + var event_node = $j(event.event_node); + if(event.id && result && !this.disabled && !this.options.readonly && + // Permissions - opening will fail if we try + event_node && !(event_node.hasClass('rowNoView')) + ) { if(event.widget_id && this.getWidgetById(event.widget_id)) { diff --git a/calendar/templates/default/app.css b/calendar/templates/default/app.css index 3898fc0423..bec9c859cf 100644 --- a/calendar/templates/default/app.css +++ b/calendar/templates/default/app.css @@ -584,7 +584,7 @@ Hide subsequent headers in week view with non-consolidated owners background-color: #808080; } -.calendar_calEvent:hover{ +.calendar_calEvent:not(.rowNoView):hover{ cursor: pointer; } diff --git a/calendar/templates/pixelegg/app.css b/calendar/templates/pixelegg/app.css index 7ce78ba393..3a7f256dc9 100755 --- a/calendar/templates/pixelegg/app.css +++ b/calendar/templates/pixelegg/app.css @@ -586,7 +586,7 @@ Hide subsequent headers in week view with non-consolidated owners border-color: #808080; background-color: #808080; } -.calendar_calEvent:hover { +.calendar_calEvent:not(.rowNoView):hover { cursor: pointer; } /** Multi-line ellipsis */ @@ -1971,9 +1971,6 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget */ background-color: #679fd2; } -.calendar_calEvent:hover { - cursor: pointer; -} .calendar_calEvent:not([class*=" cat_"]) { /* Defaults for no category, so we don't override it */ background-color: #679fd2; diff --git a/calendar/templates/pixelegg/app.less b/calendar/templates/pixelegg/app.less index d03cb78900..ea546bf204 100755 --- a/calendar/templates/pixelegg/app.less +++ b/calendar/templates/pixelegg/app.less @@ -867,9 +867,6 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget */ background-color: @egw_color_blue_lightest; } -.calendar_calEvent:hover{ - cursor: pointer; -} .calendar_calEvent:not([class*=" cat_"]) { /* Defaults for no category, so we don't override it */ background-color: @egw_color_blue_lightest;