mirror of
https://github.com/gusaul/grpcox.git
synced 2024-12-25 18:10:11 +00:00
allow force restart conn from same connected host
This commit is contained in:
parent
cd19b9523b
commit
fbc2dc74da
|
@ -2,18 +2,19 @@ var target, use_tls, editor;
|
|||
|
||||
$('#get-services').click(function(){
|
||||
var t = get_valid_target();
|
||||
if (target != t) {
|
||||
target = t;
|
||||
use_tls = "false";
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
use_tls = "false";
|
||||
var restart = "0"
|
||||
if($('#restart-conn').is(":checked")) {
|
||||
restart = "1"
|
||||
}
|
||||
|
||||
|
||||
if (target != t || restart == "1") {
|
||||
target = t;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
$('.other-elem').hide();
|
||||
var button = $(this).html();
|
||||
$.ajax({
|
||||
|
|
Loading…
Reference in New Issue
Block a user