This commit is contained in:
Lizandro Guarnizo
2026-01-24 01:17:22 -05:00
parent d0232c9c21
commit ac6d04c31d
3 changed files with 55 additions and 23 deletions
+4 -2
View File
@@ -805,10 +805,10 @@
<button class="attach-option" data-action="template">Enviar plantilla</button>
</div>
<div style="display:flex; gap:8px; align-items:center;">
<select id="message-type" class="form-select form-select-sm" style="width:auto; margin-right:8px;">
<!-- <select id="message-type" class="form-select form-select-sm" style="width:auto; margin-right:8px;">
<option value="text">Texto</option>
<option value="template">Plantilla</option>
</select>
</select> -->
<div id="templateSelectContainer" style="display:none; margin-right:8px;">
<select id="templateSelect" class="form-select form-select-sm">
<option value="">Seleccionar plantilla...</option>
@@ -2746,6 +2746,8 @@
const sendBtn = document.getElementById('send-btn');
// ensure send button is enabled
if (sendBtn) sendBtn.disabled = false;
// Update mic/send visibility (hide mic when a file is selected)
if (this._updateSendMicVisibility) this._updateSendMicVisibility();
}
formatFileSize(bytes) {