From d496850218f78b98ba9789217b0bb92989c4078b Mon Sep 17 00:00:00 2001 From: Fabre Florian Date: Wed, 25 Nov 2020 16:38:48 +0100 Subject: [PATCH] Refs #10 #creme-2.1 Fix an issue with allDay value when resizing a event in the calendar --- CHANGELOG.txt | 2 ++ creme/activities/static/activities/js/activities.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 4c9b09154..42010689a 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -5,6 +5,8 @@ # The command "creme_uninstall" was broken. # Some typo in french translations were fixed. # Apps: + * Activities: + - Fix an issue with allDay value when resizing a event in the calendar * Geolocation : - Fix local path issue with CSVPopulator on windows systems diff --git a/creme/activities/static/activities/js/activities.js b/creme/activities/static/activities/js/activities.js index f724c4598..0d7e19178 100644 --- a/creme/activities/static/activities/js/activities.js +++ b/creme/activities/static/activities/js/activities.js @@ -183,7 +183,7 @@ creme.activities.calendar.updater = function(update_url, event, dayDelta, minute {id: event.id, start: event.start.getTime(), end: event.end.getTime(), - allDay: allDay + allDay: allDay || false }) .onFail(function(event, data, error) { if (error.status === 403) {