This commit is contained in:
Lizandro Guarnizo
2026-03-16 18:36:11 -05:00
parent bbfe0417df
commit ded19cbb8d
6 changed files with 416 additions and 5 deletions
+4
View File
@@ -1947,6 +1947,10 @@ class SimpleWhatsAppManager {
$('#broadcast-users').val(null).trigger('change');
document.getElementById('broadcast-template-variables').style.display = 'none';
document.getElementById('broadcast-template-preview').style.display = 'none';
// Refrescar historial automáticamente
if (typeof window.loadBroadcastHistory === 'function') {
setTimeout(() => window.loadBroadcastHistory(1), 800);
}
} else {
this.showError(result.error || 'Error enviando broadcast');
}