removed add series tab

This commit is contained in:
kay.one 2013-05-26 19:53:56 -07:00
parent 0d21f34ec5
commit 6e6df842a0
18 changed files with 87 additions and 151 deletions

View file

@ -107,21 +107,13 @@ define([
}
});
NzbDrone.AddSeries.Existing.RootFolderCompositeView = Backbone.Marionette.CompositeView.extend({
NzbDrone.AddSeries.Existing.ListView = Backbone.Marionette.CollectionView.extend({
template : "AddSeries/Existing/RootFolderCompositeViewTemplate",
itemViewContainer: ".x-existing-folder-container",
itemView : NzbDrone.AddSeries.Existing.UnmappedFolderCompositeView,
itemView: NzbDrone.AddSeries.Existing.UnmappedFolderCompositeView,
initialize: function () {
if (!this.model) {
throw "model is required.";
}
this.collection = new NzbDrone.AddSeries.Existing.UnmappedFolderCollection();
this.refreshItems();
this.listenTo(qualityProfileCollection, 'reset', this.refreshItems, this);
},
refreshItems: function () {
@ -147,5 +139,4 @@ define([
}
});
})
;
});