#12691 fixed autosubmit in filters

This commit is contained in:
Daniel Cebrian 2024-03-15 10:02:21 +01:00
parent 2192acdac2
commit 6a1eeb467f
4 changed files with 10 additions and 10 deletions

View File

@ -318,7 +318,7 @@ $filterTable->data[0][0] = html_print_label_input_block(
$return_all_group,
'ag_group',
$ag_group,
'this.form.submit();',
'',
'',
0,
true,
@ -337,7 +337,7 @@ $filterTable->data[0][1] = html_print_label_input_block(
$recursion,
true,
false,
'this.form.submit()'
''
).'</div>'
);
@ -347,7 +347,7 @@ $filterTable->data[0][2] = html_print_label_input_block(
$showAgentFields,
'disabled',
$disabled,
'this.form.submit()',
'',
'',
0,
true,
@ -365,7 +365,7 @@ $filterTable->data[0][3] = html_print_label_input_block(
$fields,
'os',
$os,
'this.form.submit()',
'',
'All',
0,
true,

View File

@ -366,12 +366,12 @@ $filterTable->data[0][] = html_print_label_input_block(
$filterTable->data[0][] = html_print_label_input_block(
__('Group'),
html_print_select_groups(false, 'AR', $return_all_group, 'ag_group', $ag_group, 'this.form.submit();', '', 0, true, false, true, '', false)
html_print_select_groups(false, 'AR', $return_all_group, 'ag_group', $ag_group, '', '', 0, true, false, true, '', false)
);
$filterTable->data[0][] = html_print_label_input_block(
__('Group Recursion'),
html_print_checkbox_switch('recursion', 1, $recursion, true, false, 'this.form.submit()')
html_print_checkbox_switch('recursion', 1, $recursion, true, false, '')
);
if (is_metaconsole() === false) {

View File

@ -780,7 +780,7 @@ class AgentsAlerts extends HTML
'nothing' => false,
'selected' => $this->groupId,
'return' => true,
'script' => 'this.form.submit()',
'script' => '',
'size' => '100%',
],
];

View File

@ -333,7 +333,7 @@ $table->data['group'][0] = html_print_label_input_block(
true,
'group_id',
$group_id,
'this.form.submit()',
'',
'',
'',
true,
@ -361,7 +361,7 @@ $table->data['group'][1] = html_print_label_input_block(
$fields,
'status',
$status,
'this.form.submit()',
'',
__('All'),
AGENT_STATUS_ALL,
true,
@ -436,7 +436,7 @@ $table->data[2][1] = html_print_label_input_block(
$fields,
'policies',
$policies,
'this.form.submit()',
'',
__('All'),
0,
true,