From 25d24cb27fb2d57c9c91b1af63363ddd9b091726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Fri, 25 Oct 2019 15:24:49 +0200 Subject: [PATCH] tweak(Calendar): icon bg color when event is outOfFilter Change-Id: Ia9aa679edec3d245723f128946efa97a354f842c Reviewed-on: http://gerrit.tine20.com/customers/14373 Reviewed-by: Cornelius Weiss Tested-by: Cornelius Weiss --- tine20/Calendar/js/EventUI.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tine20/Calendar/js/EventUI.js b/tine20/Calendar/js/EventUI.js index 3d25eda8ec6..86144ff2e84 100644 --- a/tine20/Calendar/js/EventUI.js +++ b/tine20/Calendar/js/EventUI.js @@ -101,6 +101,9 @@ Tine.Calendar.EventUI.prototype = { if (el.dom.firstChild.firstChild) { Ext.DomHelper.applyStyles(el.dom.firstChild.firstChild, {'background-color': '#888'}); } + if (_.get(el, 'dom.firstChild.children[1]')) { + Ext.DomHelper.applyStyles(_.get(el, 'dom.firstChild.children[1]'), {'background-color': '#888'}); + } }); },