|
|
@ -3,18 +3,15 @@
|
|
|
|
NzbDrone.Controller = {
|
|
|
|
NzbDrone.Controller = {
|
|
|
|
|
|
|
|
|
|
|
|
AddSeries: function () {
|
|
|
|
AddSeries: function () {
|
|
|
|
|
|
|
|
NzbDrone.mainRegion.show(new NzbDrone.AddSeriesView());
|
|
|
|
var view = new NzbDrone.AddSeriesView();
|
|
|
|
|
|
|
|
NzbDrone.mainRegion.show(view);
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
AddNewSeries: function () {
|
|
|
|
AddNewSeries: function () {
|
|
|
|
alert("AddNewSeries");
|
|
|
|
NzbDrone.mainRegion.show(new NzbDrone.AddNewSeriesView());
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AddExistingSeries: function () {
|
|
|
|
AddExistingSeries: function () {
|
|
|
|
alert("AddExistingSeries");
|
|
|
|
NzbDrone.mainRegion.show(new NzbDrone.AddExistingSeriesView());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|