mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
rdv: add current event date when edit
This commit is contained in:
@@ -22,6 +22,15 @@ export default {
|
||||
calendarOptions: {
|
||||
plugins: [ dayGridPlugin, interactionPlugin, timeGridPlugin ],
|
||||
initialView: 'dayGridMonth',
|
||||
initialEvents: window.startDate !== undefined ?
|
||||
[
|
||||
{
|
||||
id: 1,
|
||||
start: window.startDate.date,
|
||||
end: window.endDate.date
|
||||
}
|
||||
] : [],
|
||||
initialDate: window.startDate !== undefined ? window.startDate.date : new Date(),
|
||||
selectable: true,
|
||||
select: this.onDateSelect,
|
||||
selectMirror: true,
|
||||
|
Reference in New Issue
Block a user