I feel pretty,

Oh, so pretty,
I feel pretty and witty and gay!
And I pity
Any girl who isn't me today.
This commit is contained in:
kay.one 2013-06-06 22:15:07 -07:00
commit f63869bcfa
7 changed files with 36 additions and 17 deletions

View file

@ -1,5 +1,5 @@
"use strict";
define(['app', 'Series/Details/SeasonCollectionView','Shared/LoadingView'], function () {
define(['app', 'Series/Details/SeasonCollectionView', 'Shared/LoadingView'], function () {
NzbDrone.Series.Details.SeriesDetailsLayout = Backbone.Marionette.Layout.extend({
itemViewContainer: '.x-series-seasons',
@ -9,10 +9,19 @@ define(['app', 'Series/Details/SeasonCollectionView','Shared/LoadingView'], func
seasons: '#seasons'
},
onShow: function () {
ui: {
header: '.x-header'
},
initialize: function () {
$('body').addClass('backdrop');
},
onShow: function () {
var self = this;
$.backstretch(this.model.get('fanArt'));
this.seasons.show(new NzbDrone.Shared.LoadingView());
this.seasonCollection = new NzbDrone.Series.SeasonCollection();
@ -30,6 +39,7 @@ define(['app', 'Series/Details/SeasonCollectionView','Shared/LoadingView'], func
onClose: function () {
$('.backstretch').remove();
$('body').removeClass('backdrop');
}
});
}