mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
A little formating on add series
This commit is contained in:
parent
61e8e180fc
commit
6ea0b16585
5 changed files with 51 additions and 50 deletions
|
@ -8,8 +8,15 @@ define(
|
|||
'AddSeries/AddSeriesView',
|
||||
'Quality/QualityProfileCollection',
|
||||
'AddSeries/RootFolders/Collection',
|
||||
'Series/SeriesCollection',
|
||||
], function (App, Marionette, RootFolderLayout, ExistingSeriesCollectionView, AddSeriesView, qualityProfileCollection, rootFolderCollection, SeriesCollection) {
|
||||
'Series/SeriesCollection'
|
||||
], function (App,
|
||||
Marionette,
|
||||
RootFolderLayout,
|
||||
ExistingSeriesCollectionView,
|
||||
AddSeriesView,
|
||||
QualityProfileCollection,
|
||||
RootFolderCollection,
|
||||
SeriesCollection) {
|
||||
|
||||
return Marionette.Layout.extend({
|
||||
template: 'AddSeries/AddSeriesLayoutTemplate',
|
||||
|
@ -30,12 +37,11 @@ define(
|
|||
initialize: function () {
|
||||
|
||||
SeriesCollection.fetch();
|
||||
QualityProfileCollection.fetch();
|
||||
RootFolderCollection.fetch();
|
||||
|
||||
this.rootFolderLayout = new RootFolderLayout();
|
||||
this.rootFolderLayout.on('folderSelected', this._folderSelected, this);
|
||||
|
||||
qualityProfileCollection.fetch();
|
||||
rootFolderCollection.fetch();
|
||||
},
|
||||
|
||||
onShow: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue