fix: cargar SigWebTablet.js desde servidor en ver_formulario_enviado
Mismo fix que recepcion.php: servir el JS desde assets/js/ en vez de localhost:47289 que no sirve archivos estáticos. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
c6d2caef55
commit
41e6c536c0
@@ -2535,7 +2535,7 @@ document.querySelectorAll('.turnero-firma-item').forEach(function(widget) {
|
||||
<script>
|
||||
// ── Topaz SigWeb ────────────────────────────────────────────────────
|
||||
const topaz = (() => {
|
||||
const SIGWEB_URL = 'http://localhost:47289/SigWeb/SigWebTablet.js';
|
||||
const SIGWEB_URL = '<?= rtrim(defined('APP_URL') ? APP_URL : '', '/') ?>/assets/js/SigWebTablet.js';
|
||||
let _loaded = false, _ctx = null, _target = null, _poll = null;
|
||||
// _target: { type: 'turnero'|'pro', canvas: CanvasElement, onAccept: fn }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user