|
|
|
@ -68,9 +68,14 @@ define(['app', 'Calendar/CalendarItemView'], function () {
|
|
|
|
|
_.each(calendarCollection.models, function(element) {
|
|
|
|
|
var episodeTitle = element.get('title');
|
|
|
|
|
var seriesTitle = element.get('series').title;
|
|
|
|
|
var start = element.get('airDate');
|
|
|
|
|
var end = element.get('endTime');
|
|
|
|
|
|
|
|
|
|
element.set('title', seriesTitle);
|
|
|
|
|
element.set('episodeTitle', episodeTitle);
|
|
|
|
|
element.set('start', start);
|
|
|
|
|
element.set('end', end);
|
|
|
|
|
element.set('allDay', false);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
callback(calendarCollection.toJSON());
|
|
|
|
|