Fix event creation

pull/1/head
yflory 4 years ago
parent 2163c5c31f
commit 867e0e8cd3

@ -704,8 +704,8 @@ define([
data.startDay = startDate.getFullYear() + '-' + (startDate.getMonth()+1) + '-' + startDate.getDate(); data.startDay = startDate.getFullYear() + '-' + (startDate.getMonth()+1) + '-' + startDate.getDate();
data.endDay = endDate.getFullYear() + '-' + (endDate.getMonth()+1) + '-' + endDate.getDate(); data.endDay = endDate.getFullYear() + '-' + (endDate.getMonth()+1) + '-' + endDate.getDate();
} else { } else {
delete ev.startDay; delete data.startDay;
delete ev.endDay; delete data.endDay;
} }
c.proxy.content = c.proxy.content || {}; c.proxy.content = c.proxy.content || {};

Loading…
Cancel
Save