Renamed DeleteSeries to Delete

This commit is contained in:
Mark McDowall 2012-09-11 22:52:25 -07:00
parent 89d22f2eb9
commit a1029b11dd
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ namespace NzbDrone.Web.Controllers
}
[HttpPost]
public EmptyResult DeleteSeries(int seriesId, bool deleteFiles)
public EmptyResult Delete(int seriesId, bool deleteFiles)
{
_jobProvider.QueueJob(typeof(DeleteSeriesJob), new { SeriesId = seriesId, DeleteFiles = deleteFiles });

View File

@ -1,6 +1,6 @@
var seriesEditorUrl = '../Series/SingleSeriesEditor';
var saveSeriesEditorUrl = '../Series/SaveSingleSeriesEditor';
var seriesDeleteUrl = '../Series/DeleteSeries';
var seriesDeleteUrl = '../Series/Delete';
$("#seriesEditor").dialog({
autoOpen: false,