Delete modal wired up, more formatting

This commit is contained in:
Mark McDowall
2013-02-09 19:42:44 -08:00
committed by kay.one
parent eb18d1c4a1
commit 84fbfb5d48
14 changed files with 175 additions and 33 deletions
@@ -13,7 +13,7 @@ NzbDrone.Series.IndexLayout = Backbone.Marionette.Layout.extend({
},
regions: {
main: '#series',
seriesRegion: '#series'
},
collection: new NzbDrone.Series.SeriesCollection(),
@@ -26,8 +26,7 @@ NzbDrone.Series.IndexLayout = Backbone.Marionette.Layout.extend({
console.log('binding auto complete');
this.collection.fetch();
//Show things
this.main.show(new NzbDrone.Series.Index.SeriesCollectionView({ collection: this.collection }));
this.seriesRegion.show(new NzbDrone.Series.Index.SeriesCollectionView({ collection: this.collection }));
},
});