mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Fix proxy javascript error
This commit is contained in:
@@ -99,8 +99,8 @@ function loadJackettSettings() {
|
|||||||
doNotify(value, "danger", "glyphicon glyphicon-alert", false);
|
doNotify(value, "danger", "glyphicon glyphicon-alert", false);
|
||||||
})
|
})
|
||||||
|
|
||||||
proxyWarning(data.proxy_url);
|
|
||||||
reloadIndexers();
|
reloadIndexers();
|
||||||
|
proxyWarning(data.proxy_url);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1229,8 +1229,11 @@ function bindUIButtons() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function proxyWarning(input) {
|
function proxyWarning(input) {
|
||||||
if (input.trim() != "")
|
if (input != null && input.trim() !== "") {
|
||||||
$('#proxy-warning').show();
|
$('#proxy-warning').show();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
$('#proxy-warning').hide();
|
$('#proxy-warning').hide();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@@ -34,8 +34,8 @@
|
|||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../bootstrap/bootstrap.min.css?changed=2017083001">
|
<link rel="stylesheet" type="text/css" href="../bootstrap/bootstrap.min.css?changed=2017083001">
|
||||||
<link rel="stylesheet" type="text/css" href="../animate.css?changed=2017083001">
|
<link rel="stylesheet" type="text/css" href="../animate.css?changed=2017083001">
|
||||||
<link rel="stylesheet" type="text/css" href="../custom.css?changed=20190331" media="only screen and (min-device-width: 480px)">
|
<link rel="stylesheet" type="text/css" href="../custom.css?changed=20190401" media="only screen and (min-device-width: 480px)">
|
||||||
<link rel="stylesheet" type="text/css" href="../custom_mobile.css?changed=20190331" media="only screen and (max-device-width: 480px)">
|
<link rel="stylesheet" type="text/css" href="../custom_mobile.css?changed=20190401" media="only screen and (max-device-width: 480px)">
|
||||||
<link rel="stylesheet" type="text/css" href="../css/jquery.dataTables.min.css?changed=2017083001">
|
<link rel="stylesheet" type="text/css" href="../css/jquery.dataTables.min.css?changed=2017083001">
|
||||||
<link rel="stylesheet" type="text/css" href="../css/bootstrap-multiselect.css?changed=2017083001" />
|
<link rel="stylesheet" type="text/css" href="../css/bootstrap-multiselect.css?changed=2017083001" />
|
||||||
<link rel="stylesheet" type="text/css" href="../css/font-awesome.min.css?changed=2017083001">
|
<link rel="stylesheet" type="text/css" href="../css/font-awesome.min.css?changed=2017083001">
|
||||||
@@ -671,6 +671,6 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../libs/api.js?changed=2017083001"></script>
|
<script type="text/javascript" src="../libs/api.js?changed=2017083001"></script>
|
||||||
<script type="text/javascript" src="../custom.js?changed=20190331"></script>
|
<script type="text/javascript" src="../custom.js?changed=20190401"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user