From a019185ec2ee7496f233de68d624fd36a11b20b7 Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 28 Jul 2016 14:43:11 -0600 Subject: [PATCH] Fix a case where clicking between the space for adding all day non-blocking area and the header went to day view. --- calendar/js/et2_widget_daycol.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/js/et2_widget_daycol.js b/calendar/js/et2_widget_daycol.js index db688a97f2..0bc10bf4c8 100644 --- a/calendar/js/et2_widget_daycol.js +++ b/calendar/js/et2_widget_daycol.js @@ -1100,7 +1100,7 @@ var et2_calendar_daycol = (function(){ "use strict"; return et2_valueWidget.exte } } // Day label - else if(this.title.is(_ev.target) || this.title.has(_ev.target)) + else if(this.title.is(_ev.target) || this.title.has(_ev.target).length) { app.calendar.update_state({view: 'day',date: this.date.toJSON()}); return false;