Skip to content
Snippets Groups Projects
Commit a32f84ea authored by Benjamin Hättasch's avatar Benjamin Hättasch Committed by Nadja Geisler
Browse files

Fix calendar language in two views

This resolves #143
parent c8494dc7
No related branches found
No related tags found
1 merge request!123Fix smaller issues
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
{% include "AKPlan/load_fullcalendar.html" %} {% include "AKPlan/load_fullcalendar.html" %}
<script> <script>
{% get_current_language as LANGUAGE_CODE %}
document.addEventListener('DOMContentLoaded', function () { document.addEventListener('DOMContentLoaded', function () {
var calendarEl = document.getElementById('akSlotCalendar'); var calendarEl = document.getElementById('akSlotCalendar');
......
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
{% include "AKPlan/load_fullcalendar.html" %} {% include "AKPlan/load_fullcalendar.html" %}
{% get_current_language as LANGUAGE_CODE %}
<script> <script>
document.addEventListener('DOMContentLoaded', function () { document.addEventListener('DOMContentLoaded', function () {
var planEl = document.getElementById('planCalendar'); var planEl = document.getElementById('planCalendar');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment