aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cdav_calendar.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-01-25 13:39:50 +0000
committerMario <mario@mariovavti.com>2023-01-25 13:39:50 +0000
commitddae3eaf849b13cf4ef86c48c5e75967582c3276 (patch)
treea9ff654f1176d2fe19766b07ff8f1e04ff2efab3 /view/tpl/cdav_calendar.tpl
parenta9ae17036d30a676c833a6ddb98409f19cbbd963 (diff)
downloadvolse-hubzilla-ddae3eaf849b13cf4ef86c48c5e75967582c3276.tar.gz
volse-hubzilla-ddae3eaf849b13cf4ef86c48c5e75967582c3276.tar.bz2
volse-hubzilla-ddae3eaf849b13cf4ef86c48c5e75967582c3276.zip
calendar: remove deprecated options
Diffstat (limited to 'view/tpl/cdav_calendar.tpl')
-rw-r--r--view/tpl/cdav_calendar.tpl10
1 files changed, 0 insertions, 10 deletions
diff --git a/view/tpl/cdav_calendar.tpl b/view/tpl/cdav_calendar.tpl
index e66953a5d..1eeab4478 100644
--- a/view/tpl/cdav_calendar.tpl
+++ b/view/tpl/cdav_calendar.tpl
@@ -14,9 +14,6 @@ var contact_deny = [];
var group_deny = [];
var resource = {{$resource}};
-var default_view = resource !== null ? 'timeGridDay' : 'dayGridMonth';
-var default_date = resource !== null ? new Date(resource.dtstart) : new Date();
-
var allday;
$(document).ready(function() {
@@ -36,9 +33,6 @@ $(document).ready(function() {
firstDay: {{$first_day}},
- defaultView: default_view,
- defaultDate: default_date,
-
weekNumbers: true,
navLinks: true,
@@ -52,10 +46,6 @@ $(document).ready(function() {
changeView('timeGridWeek');
},
- monthNames: aStr['monthNames'],
- monthNamesShort: aStr['monthNamesShort'],
- dayNames: aStr['dayNames'],
- dayNamesShort: aStr['dayNamesShort'],
allDayText: aStr['allday'],
snapDuration: '00:05:00',