diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-04-20 02:28:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-20 02:28:48 +0200 |
commit | a9c440637ca9f36bcf051094abe3bcba1da63166 (patch) | |
tree | f75b649eb4413a8a8191e86e6512cbf198de0370 /app/javascript/packs | |
parent | 1663368724b0a0076823aa31459eb77b9264969b (diff) |
Improve report layout (#7188)
* Use table for statuses in report * Display reported account and reporter in the same table * Split accounts and general report info into two tables again * Redesign report statuses table, notes, merge notes and action log * Remove unused translations * Fix code style issue * Fix code style issue * Fix code style issue
Diffstat (limited to 'app/javascript/packs')
-rw-r--r-- | app/javascript/packs/admin.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/packs/admin.js b/app/javascript/packs/admin.js index 2bf1514a9..5dbcc03d3 100644 --- a/app/javascript/packs/admin.js +++ b/app/javascript/packs/admin.js @@ -24,6 +24,7 @@ delegate(document, batchCheckboxClassName, 'change', () => { const checkAllElement = document.querySelector('#batch_checkbox_all'); if (checkAllElement) { checkAllElement.checked = [].every.call(document.querySelectorAll(batchCheckboxClassName), (content) => content.checked); + checkAllElement.indeterminate = !checkAllElement.checked && [].some.call(document.querySelectorAll(batchCheckboxClassName), (content) => content.checked); } }); |