mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-26 09:37:25 +00:00
Update settings_radarr.tpl
This commit is contained in:
parent
b1f60b012e
commit
24a5259163
1 changed files with 2 additions and 2 deletions
|
@ -207,12 +207,12 @@
|
||||||
$.getJSON("{{base_url}}test_url/" + protocol + "/" + encodeURIComponent(radarr_url), function (data) {
|
$.getJSON("{{base_url}}test_url/" + protocol + "/" + encodeURIComponent(radarr_url), function (data) {
|
||||||
if (data.status) {
|
if (data.status) {
|
||||||
$('#radarr_validated').checkbox('check');
|
$('#radarr_validated').checkbox('check');
|
||||||
$('#radarr_validation_result').text('Test successful: Radarr v' + data.version).css('color', 'green');
|
$('#radarr_validation_result').text('Test Successful: Radarr v' + data.version).css('color', 'green');
|
||||||
$('.form').form('validate form');
|
$('.form').form('validate form');
|
||||||
$('#loader').removeClass('active');
|
$('#loader').removeClass('active');
|
||||||
} else {
|
} else {
|
||||||
$('#radarr_validated').checkbox('uncheck');
|
$('#radarr_validated').checkbox('uncheck');
|
||||||
$('#radarr_validation_result').text('Test failed').css('color', 'red');
|
$('#radarr_validation_result').text('Test Failed').css('color', 'red');
|
||||||
$('.form').form('validate form');
|
$('.form').form('validate form');
|
||||||
$('#loader').removeClass('active');
|
$('#loader').removeClass('active');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue