1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-29 11:16:19 +00:00
Sonarr/NzbDrone.Web/_backboneApp/AddSeries/AddSeriesLayout.js
2013-02-15 16:52:20 -08:00

24 lines
No EOL
724 B
JavaScript

/// <reference path="../app.js" />
/// <reference path="AddNewSeries/AddNewSeriesView.js" />
NzbDrone.AddSeries.AddSeriesLayout = Backbone.Marionette.Layout.extend({
template: "AddSeries/addSeriesLayoutTemplate",
regions: {
addNew: "#add-new",
importExisting: "#import-existing",
rootFolders: "#root-folders"
},
onRender: function () {
this.$('#myTab a').click(function (e) {
e.preventDefault();
$(this).tab('show');
});
this.addNew.show(new NzbDrone.AddSeries.AddNewSeriesView());
//this.importExisting.show(new NzbDrone.ImportExistingView());
//this.rootFolders.show(new NzbDrone.RootFoldersView());
},
});