diff --git a/pandora_console/godmode/agentes/module_manager.php b/pandora_console/godmode/agentes/module_manager.php index 5b9e2f093c..32df36fb09 100644 --- a/pandora_console/godmode/agentes/module_manager.php +++ b/pandora_console/godmode/agentes/module_manager.php @@ -1009,7 +1009,7 @@ if ($modules !== false) { $data[8] .= html_print_menu_button( [ 'href' => 'index.php?sec=gagente&tab=module&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.'&delete_module='.$module['id_agente_modulo'], - 'onClick' => "if (!confirm(\' '.__('Are you sure?').'\')) return false;", + 'onClick' => 'javascript: if (!confirm(\''.__('Are you sure?').'\')) return false;', 'image' => 'images/delete.svg', 'title' => __('Delete'), ],