1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-29 03:05:49 +00:00
Sonarr/NzbDrone.Web/Scripts/NzbDrone/episodeSearch.js
Mark McDowall 86eb70bcbb Moved NzbDrone scripts to Scripts/NzbDrone.
Moved Plugin scripts to Scripts (Compatibility with Nuget).
jquery.validate.unobtrusive.min.js no longer uses CDN (Now a Nuget package).
2011-11-10 18:56:33 -08:00

12 lines
No EOL
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);
}
});
}