Merge branch 'ent-13228-no-se-ve-el-pop-up-tras-borrar-un-modulo-correctamente' into 'develop'

Ent 13228 no se ve el pop up tras borrar un modulo correctamente

See merge request artica/pandorafms!7115
This commit is contained in:
Juan Antonio Loarte 2024-04-10 09:40:23 +00:00
commit 021cc245ac
1 changed files with 1 additions and 4 deletions

View File

@ -2430,10 +2430,7 @@ if ($delete_module) {
if ($error != 0) {
ui_print_error_message(__('There was a problem deleting the module'));
} else {
echo '<script type="text/javascript">
location="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=module&id_agente='.$id_agente.'";
alert("'.__('Module deleted succesfully').'");
</script>';
ui_print_success_message(__('Module deleted succesfully'));
$agent = db_get_row('tagente', 'id_agente', $id_agente);
db_pandora_audit(