mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04: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:
@@ -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');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user