From 190d028bf70c381de9a025ea7dfe74b32ece4bfa Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 12 Nov 2015 19:32:04 +0000 Subject: [PATCH] Fix not able to create new all day non-blocking events when you click on the non-blocking section, but the week has other non-blocking all events. --- calendar/js/et2_widget_daycol.js | 2 +- calendar/templates/default/app.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/js/et2_widget_daycol.js b/calendar/js/et2_widget_daycol.js index 4344fdc7a4..ba8d442501 100644 --- a/calendar/js/et2_widget_daycol.js +++ b/calendar/js/et2_widget_daycol.js @@ -782,7 +782,7 @@ var et2_calendar_daycol = et2_valueWidget.extend([et2_IDetachedDOM], } , '_blank'); return false; } - else if ($j(_ev.target).is(this.header)) + else if (this.header.has(_ev.target).length || this.header.is(_ev.target)) { // Click on the header, but not the title. That's an all-day non-blocking var end = this.date.getFullYear() + '-' + (this.date.getUTCMonth()+1) + '-' + this.date.getUTCDate() + 'T23:59'; diff --git a/calendar/templates/default/app.css b/calendar/templates/default/app.css index d80a230249..ad7f30ce3b 100644 --- a/calendar/templates/default/app.css +++ b/calendar/templates/default/app.css @@ -293,7 +293,7 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget align-items:flex-start; width: 100%; height: 100%; - min-height: 3em; + padding-bottom: 2ex; } .calendar_calDayColAllDay > .calendar_calEventBodySmall {