Merge branch 'ent-11170-ya-no-pide-confirmacion-al-borrar-un-modulo' into 'develop'

Ent 11170 ya no pide confirmacion al borrar un modulo

See merge request artica/pandorafms!5880
This commit is contained in:
Matias Didier 2023-05-17 10:13:05 +00:00
commit 09030781bb
1 changed files with 1 additions and 1 deletions

View File

@ -1009,7 +1009,7 @@ if ($modules !== false) {
$data[8] .= html_print_menu_button( $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'], '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', 'image' => 'images/delete.svg',
'title' => __('Delete'), 'title' => __('Delete'),
], ],