More layout changes for Download Settings to get validation looking better.

This commit is contained in:
markus101 2011-02-10 23:48:40 -08:00
parent 6e66a7a27f
commit 3a9f053a17
3 changed files with 72 additions and 44 deletions

View file

@ -284,8 +284,9 @@ namespace NzbDrone.Web.Controllers
}
}
//ViewData["viewName"] = "Downloads";
//return View("Index", data);
if (Request.IsAjaxRequest())
return Content("Error Saving Settings, please fix any errors");
return Content("Error Saving Settings, please fix any errors");
}