Skip to content

Commit 581c193

Browse files
committed
Merge branch 'master' into release-1.2.2
to get #539
2 parents 91c3717 + b39b87d commit 581c193

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

js/settings.js

+9
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ function av_mode_show_options(str){
171171
$('#av_host, #av_port, #av_request_service, #av_response_header').attr('disabled', false);
172172
$('p.av_host, p.av_port, p.av_mode_icap').show('slow');
173173
}
174+
174175
$(document).ready(function() {
175176
$('#av_submit').on('click', function(event){
176177
var isValid = true;
@@ -246,4 +247,12 @@ $(document).ready(function() {
246247
av_mode_show_options(str);
247248
});
248249
$("#av_mode").change();
250+
$("#av_scan_background").change(function () {
251+
if ($("#av_scan_background").val() === 'true') {
252+
$('p.infected_action').show('slow');
253+
} else {
254+
$('p.infected_action').hide('slow');
255+
}
256+
});
257+
$("#av_scan_background").change();
249258
});

0 commit comments

Comments
 (0)