From 90a940c379275fce3327d825240f02234ade86e9 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Tue, 21 Jul 2026 11:24:47 -0500 Subject: [PATCH] =?UTF-8?q?turnero:=20mostrar=20punto=20verde=20y=20"Table?= =?UTF-8?q?ta=20en=20l=C3=ADnea"=20cuando=20SigWeb=20est=C3=A1=20conectado?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- ver_formulario_enviado.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ver_formulario_enviado.php b/ver_formulario_enviado.php index 40a3a41..5dafd3c 100644 --- a/ver_formulario_enviado.php +++ b/ver_formulario_enviado.php @@ -2550,9 +2550,13 @@ const topaz = (() => { }); } - // Detectar disponibilidad al cargar; ocultar botones si no hay pad + // Detectar disponibilidad al cargar; ocultar botones si no hay pad, o marcar en línea _loadScript().then(ok => { - if (!ok) document.querySelectorAll('.btn-topaz').forEach(b => b.style.display = 'none'); + document.querySelectorAll('.btn-topaz').forEach(b => { + if (!ok) { b.style.display = 'none'; return; } + b.innerHTML = '' + + 'Tableta en línea'; + }); }); function _toast(msg) {