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:
commit
09030781bb
|
@ -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'),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue