active
This commit is contained in:
@@ -1597,7 +1597,7 @@ function crmUpdateDeleteBtn() {
|
|||||||
const hasSel = checked > 0;
|
const hasSel = checked > 0;
|
||||||
document.getElementById("crm-delete-selected-btn").disabled = !hasSel;
|
document.getElementById("crm-delete-selected-btn").disabled = !hasSel;
|
||||||
document.getElementById("crm-hold-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";
|
const label = hasSel ? `Delete Checked (${checked})` : "Delete Checked";
|
||||||
document.getElementById("crm-delete-selected-btn").innerHTML =
|
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">
|
`<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
|
document.getElementById("crm-hold-btn").textContent = hasSel
|
||||||
? `Set Hold (${checked})`
|
? `Set Hold (${checked})`
|
||||||
: "Set Hold";
|
: "Set Hold";
|
||||||
document.getElementById("crm-cold-btn").textContent = hasSel
|
document.getElementById("crm-active-btn").textContent = hasSel
|
||||||
? `Set Cold (${checked})`
|
? `Set Active (${checked})`
|
||||||
: "Set Cold";
|
: "Set Active";
|
||||||
}
|
}
|
||||||
|
|
||||||
function crmToggleAll() {
|
function crmToggleAll() {
|
||||||
|
|||||||
+3
-3
@@ -753,8 +753,8 @@
|
|||||||
<div class="form-group" style="flex: 0 0 auto">
|
<div class="form-group" style="flex: 0 0 auto">
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm"
|
class="btn btn-sm"
|
||||||
id="crm-cold-btn"
|
id="crm-active-btn"
|
||||||
onclick="crmSetStageSelected('Cold')"
|
onclick="crmSetStageSelected('Active')"
|
||||||
disabled
|
disabled
|
||||||
style="
|
style="
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@@ -763,7 +763,7 @@
|
|||||||
border: 1px solid var(--border-hi);
|
border: 1px solid var(--border-hi);
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
Set Cold
|
Set Active
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" style="flex: 0 0 auto">
|
<div class="form-group" style="flex: 0 0 auto">
|
||||||
|
|||||||
Reference in New Issue
Block a user