April 9 update v1

This commit is contained in:
George Frederick "Buzz" Beurling
2020-04-09 17:53:09 -04:00
parent 50abb9d909
commit bf28eac68a

View File

@@ -34,6 +34,7 @@
</div>
<!-- Scripts -->
<script src="https://polyfill.io/v3/polyfill.min.js?features=Intl.~locale.en"></script>
<script src="/js/core/jquery.min.js"></script>
<script src="/js/core/popper.min.js"></script>
<script src="/js/core/bootstrap-material-design.min.js"></script>
@@ -56,6 +57,7 @@
$('#test').html('DOM ContentLoaded');
var calendarEl = document.getElementById('public_calendar');
try {
var calendar = new FullCalendar.Calendar(calendarEl, {
plugins: [ 'dayGrid' ],
locale: 'fr',
@@ -75,7 +77,11 @@
});
$('#test').html('Begin render');
calendar.render();
$('#test').html('Render Done');
$('#test').html('Done render');
}
catch(err) {
document.getElementById("test").innerHTML = err.message;
}
});
</script>