mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
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:
parent
4015984900
commit
f63869bcfa
7 changed files with 36 additions and 17 deletions
|
@ -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');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue