change full calendar default view to month. when changing slot minutes now reinits to view you were last looking at.
This commit is contained in:
parent
d577483800
commit
ec9d84fc91
3 changed files with 3 additions and 2 deletions
|
@ -41,6 +41,7 @@ function viewDisplay( view ) {
|
|||
var opt = view.calendar.options;
|
||||
opt.slotMinutes = parseInt(x);
|
||||
opt.events = getFullCalendarEvents;
|
||||
opt.defaultView = view.name;
|
||||
$(calendarEl).fullCalendar('destroy');
|
||||
$(calendarEl).fullCalendar(opt);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue