From 561ae102fbeeeef9e78b0e55593a83b74a62efc7 Mon Sep 17 00:00:00 2001 From: eouia Date: Thu, 6 Jul 2017 11:57:16 +0200 Subject: [PATCH 1/3] add symbol and color on broadcasted events --- modules/default/calendar/calendar.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js index 9ab864b9..ad6024f9 100644 --- a/modules/default/calendar/calendar.js +++ b/modules/default/calendar/calendar.js @@ -522,6 +522,8 @@ Module.register("calendar", { var calendar = this.calendarData[url]; for (var e in calendar) { var event = cloneObject(calendar[e]); + event.symbol = this.symbolsForUrl(url); + event.color = this.colorForUrl(url); delete event.url; eventList.push(event); } From 83be49156f4cd3773c50daf0336f1063f7b9607c Mon Sep 17 00:00:00 2001 From: eouia Date: Thu, 6 Jul 2017 16:09:16 +0200 Subject: [PATCH 2/3] symbol and color for broadcasted events (calendar) - Add symbol and color properties of event when `CALENDAR_EVENTS` notification is broadcasted from `defaultcalendar` module. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d25af7db..edfb8e01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Changed ### Added +- Add symbol and color properties of event when `CALENDAR_EVENTS` notification is broadcasted from `defaultcalendar` module. ### Updated ### Fixed From 29bae230a4c6b11387fedd627107776e4dd4d897 Mon Sep 17 00:00:00 2001 From: eouia Date: Thu, 6 Jul 2017 16:09:49 +0200 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index edfb8e01..389265bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Changed ### Added -- Add symbol and color properties of event when `CALENDAR_EVENTS` notification is broadcasted from `defaultcalendar` module. +- Add symbol and color properties of event when `CALENDAR_EVENTS` notification is broadcasted from `default/calendar` module. ### Updated ### Fixed