|
|
@ -151,16 +151,14 @@
|
|
|
|
sonarrSeriesId: $(this).attr("data-sonarrSeriesId"),
|
|
|
|
sonarrSeriesId: $(this).attr("data-sonarrSeriesId"),
|
|
|
|
sonarrEpisodeId: $(this).attr("data-sonarrEpisodeId")
|
|
|
|
sonarrEpisodeId: $(this).attr("data-sonarrEpisodeId")
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
$('#loader').addClass('active');
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
url: "{{base_url}}get_subtitle",
|
|
|
|
url: "{{base_url}}get_subtitle",
|
|
|
|
type: "POST",
|
|
|
|
type: "POST",
|
|
|
|
dataType: "json",
|
|
|
|
dataType: "json",
|
|
|
|
data: values
|
|
|
|
data: values
|
|
|
|
});
|
|
|
|
}).always(function () {
|
|
|
|
$('#loader').addClass('active');
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(document).ajaxStop(function(){
|
|
|
|
|
|
|
|
window.location.reload();
|
|
|
|
window.location.reload();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</script>
|