From ff796d60f1a7edc3c011ecbefddbd6f443625f1c Mon Sep 17 00:00:00 2001 From: alext Date: Sun, 6 Nov 2016 12:18:02 +0100 Subject: [PATCH] Corrected rendering issue when table calendar and 3-days view are selected. --- src/assets/js/backend_calendar_table_view.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/assets/js/backend_calendar_table_view.js b/src/assets/js/backend_calendar_table_view.js index 87b176be..4df64e74 100644 --- a/src/assets/js/backend_calendar_table_view.js +++ b/src/assets/js/backend_calendar_table_view.js @@ -81,6 +81,10 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {}; var $dateColumn = $(dateColumn); var date = new Date($dateColumn.data('date')); + if (currentDate !== date) { + return true; + } + $(dateColumn).find('.provider-column').each(function(index, providerColumn) { var $providerColumn = $(providerColumn); var provider = $providerColumn.data('provider');