mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 09:47:39 +00:00
13 lines
332 B
JavaScript
13 lines
332 B
JavaScript
|
var searchUrl = '../Episode/Search';
|
|||
|
|
|||
|
function searchForEpisode(id) {
|
|||
|
$.ajax({
|
|||
|
type: "POST",
|
|||
|
url: searchUrl,
|
|||
|
data: jQuery.param({ episodeId: id }),
|
|||
|
error: function (req, status, error) {
|
|||
|
alert("Sorry! We could search for " + id + " at this time. " + error);
|
|||
|
}
|
|||
|
});
|
|||
|
}
|
|||
|
|