This commit is contained in:
oliver
2026-06-16 05:44:55 -03:00
parent 16bec05592
commit 421215d42d
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -1597,7 +1597,7 @@ function crmUpdateDeleteBtn() {
const hasSel = checked > 0;
document.getElementById("crm-delete-selected-btn").disabled = !hasSel;
document.getElementById("crm-hold-btn").disabled = !hasSel;
document.getElementById("crm-cold-btn").disabled = !hasSel;
document.getElementById("crm-active-btn").disabled = !hasSel;
const label = hasSel ? `Delete Checked (${checked})` : "Delete Checked";
document.getElementById("crm-delete-selected-btn").innerHTML =
`<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" style="margin-right:4px;vertical-align:middle">
@@ -1607,9 +1607,9 @@ function crmUpdateDeleteBtn() {
document.getElementById("crm-hold-btn").textContent = hasSel
? `Set Hold (${checked})`
: "Set Hold";
document.getElementById("crm-cold-btn").textContent = hasSel
? `Set Cold (${checked})`
: "Set Cold";
document.getElementById("crm-active-btn").textContent = hasSel
? `Set Active (${checked})`
: "Set Active";
}
function crmToggleAll() {