diff --git a/templates/base.html b/templates/base.html index c4a64c89..ea114b72 100644 --- a/templates/base.html +++ b/templates/base.html @@ -376,11 +376,11 @@ document.addEventListener('DOMContentLoaded', function() { } //// Create controls for any table that looks selectable but lacks a control block - //Array.from(document.querySelectorAll('table')).forEach(function(t){ - // if (t.querySelector && (t.querySelector('input[name="selection"]') || t.querySelector('input[type="checkbox"]'))) { - // ensureControlsForTable(t); - // } - //}); + Array.from(document.querySelectorAll('table')).forEach(function(t){ + if (t.querySelector && (t.querySelector('input[name="selection"]') || t.querySelector('input[type="checkbox"]'))) { + ensureControlsForTable(t); + } + }); // For every toggle button (supports both unsuffixed and suffixed IDs) document.querySelectorAll('button[id^="toggle-row-selection"]').forEach(function(toggleBtn) {