fixed calendar now showing on load.

pull/3113/head
kay.one 11 years ago
parent 9722506aca
commit 5c05f6b740

@ -57,6 +57,12 @@ define(['app', 'Calendar/CalendarItemView'], function () {
NzbDrone.Calendar.CalendarCollectionView.Instance = this; NzbDrone.Calendar.CalendarCollectionView.Instance = this;
}, },
onShow: function () {
this.$('.fc-button-today').click();
},
getEvents: function (start, end, callback) { getEvents: function (start, end, callback) {
var bbView = NzbDrone.Calendar.CalendarCollectionView.Instance; var bbView = NzbDrone.Calendar.CalendarCollectionView.Instance;

Loading…
Cancel
Save