Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions intelligence/company/www/assets/meridian.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,11 @@ window.__meridianFetchJsonWithTimeout = window.__meridianFetchJsonWithTimeout ||
});
Array.prototype.forEach.call(shell.querySelectorAll('[data-bulk-decision]'), function (button) {
button.disabled = !selectedCount;
if (button.disabled) {
button.title = "Select items to enable bulk actions";
} else {
button.removeAttribute("title");
}
});
}

Expand Down
8 changes: 4 additions & 4 deletions intelligence/company/www/trust-ops.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ <h1>Trust Ops Queue</h1>
</label>
<strong class="operator-selected-count" data-trust-ops-selected-count>0 selected</strong>
<div class="operator-actions">
<button type="button" class="operator-action" data-bulk-decision="approve" disabled>approve</button>
<button type="button" class="operator-action" data-bulk-decision="stale" disabled>stale</button>
<button type="button" class="operator-action" data-bulk-decision="revoke" disabled>revoke</button>
<button type="button" class="operator-action" data-bulk-decision="unresolved" disabled>unresolved</button>
<button type="button" class="operator-action" data-bulk-decision="approve" disabled title="Select items to enable bulk actions">approve</button>
<button type="button" class="operator-action" data-bulk-decision="stale" disabled title="Select items to enable bulk actions">stale</button>
<button type="button" class="operator-action" data-bulk-decision="revoke" disabled title="Select items to enable bulk actions">revoke</button>
<button type="button" class="operator-action" data-bulk-decision="unresolved" disabled title="Select items to enable bulk actions">unresolved</button>
</div>
</div>
</div>
Expand Down
Loading