1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 09:47:39 +00:00

fixed calendar now showing on load.

This commit is contained in:
kay.one 2013-06-04 22:07:42 -07:00
parent 9722506aca
commit 5c05f6b740

View file

@ -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;