diff --git a/ver_formulario_enviado.php b/ver_formulario_enviado.php
index d3d0fac..cf01246 100644
--- a/ver_formulario_enviado.php
+++ b/ver_formulario_enviado.php
@@ -852,11 +852,19 @@ function esc2(mixed $v): string {
-
+
+
Consentimiento firmado
- Puede cerrar esta ventana. El personal de salud ha sido notificado.
+
El personal de salud ha sido notificado.
+
+
+
+
@@ -1103,8 +1111,17 @@ document.querySelectorAll('.turnero-firma-item').forEach(function(widget) {
w.style.display = 'none';
});
var ok = document.createElement('div');
- ok.className = 'alert alert-success mt-4 d-flex align-items-center gap-2 no-print';
- ok.innerHTML = '
Firmado correctamente.
Puede cerrar esta ventana.
';
+ ok.className = 'alert alert-success mt-4 d-flex align-items-start gap-3 no-print';
+ var _enIframe = (function(){ try { return window.self !== window.top; } catch(e){ return true; } })();
+ ok.innerHTML = '
'
+ + '
Firmado correctamente.'
+ + '
El personal de salud ha sido notificado.'
+ + '
'
+ + ''
+ + (!_enIframe ? '' : '')
+ + '
';
widget.parentNode.insertBefore(ok, widget.nextSibling);
try { window.parent.postMessage({ type: 'turneroFirmado' }, '*'); } catch(e) {}
} else {