From bbcf623c63163ad46d4f0a6040b77db09a28917a Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Tue, 4 Dec 2018 15:15:25 +0100 Subject: [PATCH] Added month agendaWeek,agendaDay button --- static/js/calendar.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/static/js/calendar.js b/static/js/calendar.js index bb52327..0ced784 100644 --- a/static/js/calendar.js +++ b/static/js/calendar.js @@ -36,6 +36,16 @@ function setData(events) { minTime: "07:00:00", maxTime: "19:00:00", timeZone: 'local', + nowIndicator: true, + allDaySlot: false, + eventClick: function(info) { + info.jsEvent.preventDefault(); + }, + header: { + left: 'title', + center: '', + right: 'month,agendaWeek,agendaDay prev,next today' + } }); calendar.render(); }