mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
HTMX work on 9583.
This commit is contained in:
@ -60,7 +60,7 @@ Context:
|
||||
{% block content %}
|
||||
|
||||
{# Object list tab #}
|
||||
<div class="tab-pane show active" id="object-list" role="tabpanel" aria-labelledby="object-list-tab">
|
||||
<div class="tab-pane show active" id="object-list" role="tabpanel" aria-labelledby="object-list-tab" hx-include="#object-list thead select, #object-list input[type='search']">
|
||||
|
||||
{# Applied filters #}
|
||||
{% if filter_form %}
|
||||
|
@ -74,7 +74,7 @@ def render_filter_field(field, bulk_nullable=False, label=None):
|
||||
"""
|
||||
if hasattr(field.field, 'widget'):
|
||||
field.field.widget.attrs.update({
|
||||
'hx-get': None,
|
||||
'hx-get': "",
|
||||
'hx-target': '#object_list',
|
||||
'hx-trigger': 'hidden.bs.dropdown from:closest .dropdown'
|
||||
})
|
||||
|
Reference in New Issue
Block a user