diff --git a/pandora_console/godmode/agentes/modificar_agente.php b/pandora_console/godmode/agentes/modificar_agente.php index b0f071c1b4..2718a52efd 100644 --- a/pandora_console/godmode/agentes/modificar_agente.php +++ b/pandora_console/godmode/agentes/modificar_agente.php @@ -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()' + '' ).'' ); @@ -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, diff --git a/pandora_console/godmode/reporting/map_builder.php b/pandora_console/godmode/reporting/map_builder.php index 6dbb6a1dbf..fe08aaa9fb 100644 --- a/pandora_console/godmode/reporting/map_builder.php +++ b/pandora_console/godmode/reporting/map_builder.php @@ -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) { diff --git a/pandora_console/include/class/AgentsAlerts.class.php b/pandora_console/include/class/AgentsAlerts.class.php index 70c1ff9e3c..54408c3cb8 100644 --- a/pandora_console/include/class/AgentsAlerts.class.php +++ b/pandora_console/include/class/AgentsAlerts.class.php @@ -780,7 +780,7 @@ class AgentsAlerts extends HTML 'nothing' => false, 'selected' => $this->groupId, 'return' => true, - 'script' => 'this.form.submit()', + 'script' => '', 'size' => '100%', ], ]; diff --git a/pandora_console/operation/agentes/estado_agente.php b/pandora_console/operation/agentes/estado_agente.php index 8a392f1306..5d8aabbe11 100644 --- a/pandora_console/operation/agentes/estado_agente.php +++ b/pandora_console/operation/agentes/estado_agente.php @@ -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,