Added now indication and changed snap duration
This commit is contained in:
parent
9e116623dc
commit
0e9758372d
2 changed files with 4 additions and 2 deletions
|
@ -1408,11 +1408,12 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
||||||
|
|
||||||
// Initialize page calendar
|
// Initialize page calendar
|
||||||
$('#calendar').fullCalendar({
|
$('#calendar').fullCalendar({
|
||||||
|
nowIndicator: true,
|
||||||
defaultView: defaultView,
|
defaultView: defaultView,
|
||||||
height: getCalendarHeight(),
|
height: getCalendarHeight(),
|
||||||
editable: true,
|
editable: true,
|
||||||
firstDay: firstWeekdayNumber,
|
firstDay: firstWeekdayNumber,
|
||||||
snapDuration: '00:30:00',
|
snapDuration: '00:15:00',
|
||||||
timeFormat: timeFormat,
|
timeFormat: timeFormat,
|
||||||
slotLabelFormat: slotTimeFormat,
|
slotLabelFormat: slotTimeFormat,
|
||||||
allDayText: EALang.all_day,
|
allDayText: EALang.all_day,
|
||||||
|
|
|
@ -697,11 +697,12 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
|
||||||
defaultView: 'agendaDay',
|
defaultView: 'agendaDay',
|
||||||
height: getCalendarHeight(),
|
height: getCalendarHeight(),
|
||||||
editable: true,
|
editable: true,
|
||||||
firstDay: firstWeekdayNumber,
|
|
||||||
timeFormat: timeFormat,
|
timeFormat: timeFormat,
|
||||||
slotLabelFormat: slotTimeFormat,
|
slotLabelFormat: slotTimeFormat,
|
||||||
allDaySlot: true,
|
allDaySlot: true,
|
||||||
columnFormat: columnFormat,
|
columnFormat: columnFormat,
|
||||||
|
firstDay: firstWeekdayNumber,
|
||||||
|
snapDuration: '00:15:00',
|
||||||
header: {
|
header: {
|
||||||
left: 'listDay,agendaDay',
|
left: 'listDay,agendaDay',
|
||||||
center: '',
|
center: '',
|
||||||
|
|
Loading…
Reference in a new issue