minor fix

This commit is contained in:
fbsanchez 2020-10-29 10:55:07 +01:00
parent 4babcbe647
commit 6112b3e932
1 changed files with 1 additions and 4 deletions

View File

@ -3747,13 +3747,10 @@ $(document).ready (function () {
// Alert report group must show all matches when selecting All group // Alert report group must show all matches when selecting All group
// ignoring 'recursion' option. #6497. // ignoring 'recursion' option. #6497.
if ($('#type').val() == 'alert_report_group' if ($("#combo_group").val() == 0) {
&& $("#combo_group").val() == 0
) {
$('#checkbox-recursion').attr('disabled',true) $('#checkbox-recursion').attr('disabled',true)
$('#checkbox-recursion').attr('checked','checked') $('#checkbox-recursion').attr('checked','checked')
} else { } else {
$('#checkbox-recursion').removeAttr('checked')
$('#checkbox-recursion').removeAttr('disabled') $('#checkbox-recursion').removeAttr('disabled')
} }