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.

This commit is contained in:
Nathan Gray 2015-11-12 19:32:04 +00:00
parent bf5d46c721
commit 190d028bf7
2 changed files with 2 additions and 2 deletions

View File

@ -782,7 +782,7 @@ var et2_calendar_daycol = et2_valueWidget.extend([et2_IDetachedDOM],
} , '_blank'); } , '_blank');
return false; 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 // 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'; var end = this.date.getFullYear() + '-' + (this.date.getUTCMonth()+1) + '-' + this.date.getUTCDate() + 'T23:59';

View File

@ -293,7 +293,7 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget
align-items:flex-start; align-items:flex-start;
width: 100%; width: 100%;
height: 100%; height: 100%;
min-height: 3em; padding-bottom: 2ex;
} }
.calendar_calDayColAllDay > .calendar_calEventBodySmall { .calendar_calDayColAllDay > .calendar_calEventBodySmall {