-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
When batch actions are disabled the .table_tools div is not rendered. However the sidebar is unconditionnaly hidden using javascript here:
| if (!window.location.search.includes('Filter')) { | |
| $('div#sidebar').hide(); | |
| $('#main_content').css({ 'margin-right': '0px' }); | |
| $('a#toggleFilters').removeClass('epon'); | |
| } |
The only way to show the sidebar is by clicking on the "Filters" button but it's never added to the DOM since the .table_tools element is missing:
| $('#active_admin_content .table_tools').append('<a id="toggleFilters" href="#" class=\'epon\'>Filtres</a>'); |
Note that all sidebard are affected by this, not only the filters panel in the sidebar.
nfedyashev and IMhide
Metadata
Metadata
Assignees
Labels
No labels