diff --git a/NzbDrone.Web/Content/jQueryUI/images/ui-bg_flat_30_b40404_40x100.png b/NzbDrone.Web/Content/jQueryUI/images/ui-bg_flat_30_b40404_40x100.png new file mode 100644 index 000000000..08c16fc87 Binary files /dev/null and b/NzbDrone.Web/Content/jQueryUI/images/ui-bg_flat_30_b40404_40x100.png differ diff --git a/NzbDrone.Web/Controllers/SeriesController.cs b/NzbDrone.Web/Controllers/SeriesController.cs index 40bccfd8e..0fce77826 100644 --- a/NzbDrone.Web/Controllers/SeriesController.cs +++ b/NzbDrone.Web/Controllers/SeriesController.cs @@ -61,7 +61,7 @@ public ActionResult SeriesEditor(int seriesId) } [HttpPost] - public JsonResult SaveSeriesEditor(SeriesModel seriesModel) + public EmptyResult SaveSeriesEditor(SeriesModel seriesModel) { var series = _seriesProvider.GetSeries(seriesModel.SeriesId); series.Monitored = seriesModel.Monitored; @@ -72,15 +72,15 @@ public JsonResult SaveSeriesEditor(SeriesModel seriesModel) _seriesProvider.UpdateSeries(series); - return JsonNotificationResult.Info("Series Saved"); + return new EmptyResult(); } [HttpPost] - public JsonResult DeleteSeries(int seriesId) + public EmptyResult DeleteSeries(int seriesId) { _jobProvider.QueueJob(typeof(DeleteSeriesJob), seriesId); - return JsonNotificationResult.Info("Series Deleted"); + return new EmptyResult(); } public JsonResult LocalSearch(string term) diff --git a/NzbDrone.Web/Views/Series/Index.cshtml b/NzbDrone.Web/Views/Series/Index.cshtml index 274b71993..d4fc4e758 100644 --- a/NzbDrone.Web/Views/Series/Index.cshtml +++ b/NzbDrone.Web/Views/Series/Index.cshtml @@ -64,6 +64,27 @@ { text-align: center; } + + .ui-dialog-buttonpane .ui-dialog-buttonset .ui-delete-button + { + margin-right: 445px; + } + + .ui-dialog-buttonset .ui-delete-button + { + background: url("images/ui-bg_flat_30_b40404_40x100.png") repeat-x scroll 50% 50% #B40404; + border: 1px solid #FFFFFF; + color: #FFFFFF; + font-weight: normal; + } + + .ui-dialog-buttonset .ui-delete-button:active + { + background: url("images/ui-bg_flat_30_616161_40x100.png") repeat-x scroll 50% 50% #616161; + border: 1px solid #FFFFFF; + color: #FFFFFF; + font-weight: normal; + } @section ActionMenu{