mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-11 15:47:09 -07:00
Series/Details grids now use images for ignore/status/search/rename.
This commit is contained in:
parent
4e41791d58
commit
1d1bbd3a23
7 changed files with 103 additions and 37 deletions
|
@ -19,7 +19,7 @@ namespace NzbDrone.Web.Controllers
|
|||
public JsonResult RssSync()
|
||||
{
|
||||
_jobProvider.QueueJob(typeof(RssSyncJob));
|
||||
return new JsonResult { Data = "ok" };
|
||||
return new JsonResult { Data = "ok", JsonRequestBehavior = JsonRequestBehavior.AllowGet };
|
||||
}
|
||||
|
||||
public JsonResult SyncEpisodesOnDisk(int seriesId)
|
||||
|
@ -27,7 +27,7 @@ namespace NzbDrone.Web.Controllers
|
|||
//Syncs the episodes on disk for the specified series
|
||||
_jobProvider.QueueJob(typeof(DiskScanJob), seriesId);
|
||||
|
||||
return new JsonResult { Data = "ok" };
|
||||
return new JsonResult { Data = "ok", JsonRequestBehavior = JsonRequestBehavior.AllowGet };
|
||||
}
|
||||
|
||||
public JsonResult UpdateInfo(int seriesId)
|
||||
|
@ -35,7 +35,7 @@ namespace NzbDrone.Web.Controllers
|
|||
//Syncs the episodes on disk for the specified series
|
||||
_jobProvider.QueueJob(typeof(UpdateInfoJob), seriesId);
|
||||
|
||||
return new JsonResult { Data = "ok" };
|
||||
return new JsonResult { Data = "ok", JsonRequestBehavior = JsonRequestBehavior.AllowGet };
|
||||
}
|
||||
|
||||
public JsonResult RenameSeries(int seriesId)
|
||||
|
@ -43,7 +43,7 @@ namespace NzbDrone.Web.Controllers
|
|||
//Syncs the episodes on disk for the specified series
|
||||
//_jobProvider.QueueJob(typeof(UpdateInfoJob), seriesId);
|
||||
|
||||
return new JsonResult { Data = "ok" };
|
||||
return new JsonResult { Data = "ok", JsonRequestBehavior = JsonRequestBehavior.AllowGet };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue