turnero: botón Ver abre el formulario en la misma modal en lugar de nueva pestaña

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-07-21 09:40:25 -05:00
co-authored by Claude Sonnet 4.6
parent 2cd7525bb4
commit 992ce9d663
+3 -3
View File
@@ -1399,10 +1399,10 @@ function renderConsentimientos(lista) {
// Botón ver
const btnVer = (ya && c.token)
? `<a href="${BASE_WA}ver_formulario_enviado.php?token=${token}" target="_blank"
class="btn btn-outline-secondary" title="Ver firmado">
? `<button class="btn btn-outline-secondary" title="Ver firmado"
onclick="_abrirModalConToken('${token}')">
<i class="fas fa-eye"></i> Ver
</a>` : '';
</button>` : '';
// Acción de firma según modo
let btnAccion = '';