From 855825c088903b6bded38c8c074dd97cd4c79525 Mon Sep 17 00:00:00 2001 From: nathangray Date: Fri, 3 Mar 2017 09:07:16 -0700 Subject: [PATCH] Calendar - Planner view: Fix time grid lines did not reach all the way to the end --- calendar/js/et2_widget_planner.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/calendar/js/et2_widget_planner.js b/calendar/js/et2_widget_planner.js index 60135f0de0..81c2d7a473 100644 --- a/calendar/js/et2_widget_planner.js +++ b/calendar/js/et2_widget_planner.js @@ -1908,6 +1908,9 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e break; } } + + // Updating the row may push things longer, update length + this.grid.height(this.rows[0].scrollHeight); }, /** @@ -2365,6 +2368,8 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e this.div.css('height', this.options.height); // Set height for rows this.rows.height(this.div.height() - this.headers.outerHeight()); + + this.grid.height(this.rows[0].scrollHeight); } });}).call(this); et2_register_widget(et2_calendar_planner, ["calendar-planner"]); \ No newline at end of file