This commit is contained in:
Aidaho12
2018-08-28 09:34:10 +06:00
parent c6c5ca2193
commit 106cad5ffa
4 changed files with 66 additions and 36 deletions

View File

@@ -562,10 +562,8 @@ $( function() {
$( "#https-backend" ).click( function(){
if ($('#https-backend').is(':checked')) {
$( "#https-hide-backend" ).show( "fast" );
$( "#path-cert-backend" ).attr('required',true);
} else {
$( "#https-hide-backend" ).hide( "fast" );
$( "#path-cert-backend" ).prop('required',false);
}
});
$( "#options-listen-show" ).click( function(){
@@ -1090,24 +1088,6 @@ $( function() {
autoFocus: true,
minLength: -1
});
$( "#path-cert-backend" ).autocomplete({
source: function( request, response ) {
$.ajax( {
url: "options.py",
data: {
getcerts:1,
serv: $("#serv3").val(),
token: $('#token').val()
},
success: function( data ) {
data = data.replace(/\s+/g,' ');
response(data.split(" "));
}
} );
},
autoFocus: true,
minLength: -1
});
$( "#interface" ).autocomplete({
source: function( request, response ) {
$.ajax( {