pull/145/head
Pavel Loginov 2019-09-15 16:59:43 +03:00
parent e0a72496af
commit a7d1fc59c1
1 changed files with 4 additions and 0 deletions

View File

@ -163,6 +163,10 @@ $( function() {
$('.alert-danger').remove();
$('.alert-warning').remove();
$("#ajax").html('<div class="alert alert-info">It is seems like you have the last version HAProxy-WI</data>');
} else if (data.indexOf('Connection timed out') != '-1') {
$('.alert-danger').remove();
$('.alert-warning').remove();
$("#ajax").html('<div class="alert alert-danger">Cannot connect to HAProxy-WI repository. Connection timed out</data>');
}
}
} );