mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
Ajax Links are all handled by jQuery now, no more MvcAjax handlers.
This commit is contained in:
@@ -14,14 +14,12 @@ namespace NzbDrone.Web.Controllers
|
||||
_jobProvider = jobProvider;
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public JsonResult Search(int episodeId)
|
||||
{
|
||||
_jobProvider.QueueJob(typeof(EpisodeSearchJob), episodeId);
|
||||
return JsonNotificationResult.Info("Queued");
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public JsonResult SearchSeason(int seriesId, int seasonNumber)
|
||||
{
|
||||
_jobProvider.QueueJob(typeof(SeasonSearchJob), seriesId, seasonNumber);
|
||||
|
||||
Reference in New Issue
Block a user