From 26d8bd1cfbf6617418dc92830a3f23e7da71a5fa Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 19 Jul 2018 13:59:45 -0600 Subject: [PATCH] * Calendar - Fix missing first row in planner by category view --- calendar/js/et2_widget_planner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/js/et2_widget_planner.js b/calendar/js/et2_widget_planner.js index 217a17794f..651e727cdb 100644 --- a/calendar/js/et2_widget_planner.js +++ b/calendar/js/et2_widget_planner.js @@ -759,11 +759,11 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e break; } } - if(label_index && typeof rows[label_index] === 'undefined') + if(label_index !== false && typeof rows[label_index] === 'undefined') { rows[label_index] = []; } - if(label_index && rows[label_index].indexOf(event) === -1) + if(label_index !== false && rows[label_index].indexOf(event) === -1) { rows[label_index].push(event); }