active
This commit is contained in:
@@ -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() {
|
||||
|
||||
+3
-3
@@ -753,8 +753,8 @@
|
||||
<div class="form-group" style="flex: 0 0 auto">
|
||||
<button
|
||||
class="btn btn-sm"
|
||||
id="crm-cold-btn"
|
||||
onclick="crmSetStageSelected('Cold')"
|
||||
id="crm-active-btn"
|
||||
onclick="crmSetStageSelected('Active')"
|
||||
disabled
|
||||
style="
|
||||
white-space: nowrap;
|
||||
@@ -763,7 +763,7 @@
|
||||
border: 1px solid var(--border-hi);
|
||||
"
|
||||
>
|
||||
Set Cold
|
||||
Set Active
|
||||
</button>
|
||||
</div>
|
||||
<div class="form-group" style="flex: 0 0 auto">
|
||||
|
||||
Reference in New Issue
Block a user