Calendar moved to layout

This commit is contained in:
Mark McDowall 2013-06-06 22:33:01 -07:00
parent 60e28140ab
commit c04dc9d5e9
14 changed files with 211 additions and 149 deletions

View file

@ -3,7 +3,7 @@ define(['app',
'Form/FormBuilder',
'AddSeries/AddSeriesLayout',
'Series/Index/SeriesIndexLayout',
'Calendar/CalendarCollectionView',
'Calendar/CalendarLayout',
'Shared/NotificationView',
'Shared/NotFoundView',
'MainMenuView',
@ -43,9 +43,7 @@ define(['app',
calendar: function () {
this._setTitle('Calendar');
var calendarCollection = new NzbDrone.Calendar.CalendarCollection();
calendarCollection.fetch();
NzbDrone.mainRegion.show(new NzbDrone.Calendar.CalendarCollectionView({collection: calendarCollection}));
NzbDrone.mainRegion.show(new NzbDrone.Calendar.CalendarLayout());
},