From 006bfefbe18a7aa32332cf164dcc89689f905bf5 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 14 Oct 2020 13:54:04 -0600 Subject: [PATCH] Calendar: Fix current time line sometimes missing in planner view --- calendar/js/et2_widget_planner.js | 1 + calendar/js/et2_widget_planner.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/calendar/js/et2_widget_planner.js b/calendar/js/et2_widget_planner.js index 1406e46c4f..bbf528f0af 100644 --- a/calendar/js/et2_widget_planner.js +++ b/calendar/js/et2_widget_planner.js @@ -852,6 +852,7 @@ var et2_calendar_planner = /** @class */ (function (_super) { return false; } this.now_div.appendTo(this.grid) + .show() .css('left', row._time_to_position(now) + '%'); }; /** diff --git a/calendar/js/et2_widget_planner.ts b/calendar/js/et2_widget_planner.ts index 2e153fc9bc..bd0a30482b 100644 --- a/calendar/js/et2_widget_planner.ts +++ b/calendar/js/et2_widget_planner.ts @@ -1095,6 +1095,7 @@ export class et2_calendar_planner extends et2_calendar_view implements et2_IDeta return false; } this.now_div.appendTo(this.grid) + .show() .css('left', row._time_to_position(now) + '%'); }