merge
This commit is contained in:
commit
4a0da37a96
2 changed files with 6 additions and 3 deletions
|
|
@ -3,8 +3,10 @@ $( document ).ready(function() {
|
|||
if (!calendarEl) return; //check that we need a vertical schedule
|
||||
let fullcalData = $('#fullcalendar');
|
||||
|
||||
let license_key = "<%= Rails.configuration.fullcalendar[:license_key] %>";
|
||||
|
||||
var calendar = new FullCalendar.Calendar(calendarEl, {
|
||||
schedulerLicenseKey: fullcalData.data('schedulerLicenseKey'),
|
||||
schedulerLicenseKey: license_key,
|
||||
nowIndicator: true,
|
||||
now: fullcalData.data('now'),
|
||||
expandRows: true,
|
||||
|
|
@ -24,3 +26,5 @@ $( document ).ready(function() {
|
|||
|
||||
calendar.render();
|
||||
});
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue