diff options
author | Mario <mario@mariovavti.com> | 2023-01-25 13:08:05 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-01-25 13:08:05 +0000 |
commit | 08e925758e920b898ac2d08710eab2f9638fe276 (patch) | |
tree | fed0f7b2ee8251c6534d446b3166096889c9aeb3 /library/fullcalendar/examples/external-dragging-2cals.html | |
parent | 213c8a6eeccc16c34d3a34229a810bd213837c56 (diff) | |
download | volse-hubzilla-08e925758e920b898ac2d08710eab2f9638fe276.tar.gz volse-hubzilla-08e925758e920b898ac2d08710eab2f9638fe276.tar.bz2 volse-hubzilla-08e925758e920b898ac2d08710eab2f9638fe276.zip |
update fullcalendar library
Diffstat (limited to 'library/fullcalendar/examples/external-dragging-2cals.html')
-rw-r--r-- | library/fullcalendar/examples/external-dragging-2cals.html | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/library/fullcalendar/examples/external-dragging-2cals.html b/library/fullcalendar/examples/external-dragging-2cals.html index 52023b7be..a0744b24c 100644 --- a/library/fullcalendar/examples/external-dragging-2cals.html +++ b/library/fullcalendar/examples/external-dragging-2cals.html @@ -2,11 +2,7 @@ <html> <head> <meta charset='utf-8' /> -<link href='../packages/core/main.css' rel='stylesheet' /> -<link href='../packages/daygrid/main.css' rel='stylesheet' /> -<script src='../packages/core/main.js'></script> -<script src='../packages/interaction/main.js'></script> -<script src='../packages/daygrid/main.js'></script> +<script src='../dist/index.global.js'></script> <script> document.addEventListener('DOMContentLoaded', function() { @@ -14,19 +10,18 @@ var destCalendarEl = document.getElementById('destination-calendar'); var srcCalendar = new FullCalendar.Calendar(srcCalendarEl, { - plugins: [ 'interaction', 'dayGrid' ], editable: true, - defaultDate: '2020-05-12', + initialDate: '2020-09-12', events: [ { title: 'event1', - start: '2020-05-11T10:00:00', - end: '2020-05-11T16:00:00' + start: '2020-09-11T10:00:00', + end: '2020-09-11T16:00:00' }, { title: 'event2', - start: '2020-05-13T10:00:00', - end: '2020-05-13T16:00:00' + start: '2020-09-13T10:00:00', + end: '2020-09-13T16:00:00' } ], eventLeave: function(info) { @@ -35,8 +30,7 @@ }); var destCalendar = new FullCalendar.Calendar(destCalendarEl, { - plugins: [ 'interaction', 'dayGrid' ], - defaultDate: '2020-05-12', + initialDate: '2020-09-12', editable: true, droppable: true, // will let it receive events! eventReceive: function(info) { |