Skip to content

Commit

Permalink
Merge branch 'master' into release-1.2.2
Browse files Browse the repository at this point in the history
to get #539
  • Loading branch information
jnweiger committed Jun 14, 2023
2 parents 91c3717 + b39b87d commit 581c193
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ function av_mode_show_options(str){
$('#av_host, #av_port, #av_request_service, #av_response_header').attr('disabled', false);
$('p.av_host, p.av_port, p.av_mode_icap').show('slow');
}

$(document).ready(function() {
$('#av_submit').on('click', function(event){
var isValid = true;
Expand Down Expand Up @@ -246,4 +247,12 @@ $(document).ready(function() {
av_mode_show_options(str);
});
$("#av_mode").change();
$("#av_scan_background").change(function () {
if ($("#av_scan_background").val() === 'true') {
$('p.infected_action').show('slow');
} else {
$('p.infected_action').hide('slow');
}
});
$("#av_scan_background").change();
});

0 comments on commit 581c193

Please sign in to comment.