mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-06 11:02:40 +01:00
86eb70bcbb
Moved Plugin scripts to Scripts (Compatibility with Nuget). jquery.validate.unobtrusive.min.js no longer uses CDN (Now a Nuget package).
12 lines
328 B
JavaScript
12 lines
328 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);
|
|
}
|
|
});
|
|
} |