Fix callback windows

This commit is contained in:
2022-10-17 07:20:30 +01:00
parent cfeb570bf8
commit 7779cb8d0e
4 changed files with 10 additions and 2 deletions

View File

@@ -25,7 +25,7 @@
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-get="{% url 'hook_action' type=type hook_id=item.hook.id %}"
hx-trigger="click"
hx-target="#modals-here">{{ item.hook.name }}
hx-target="#{{ type }}s-here">{{ item.hook.name }}
</a>
</td>
<td>{{ item.title }}</td>

View File

@@ -79,7 +79,7 @@
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-get="{% url 'callbacks' type='window' %}"
hx-trigger="click"
hx-target="#items-here"
hx-target="#windows-here"
hx-swap="afterend"
class="button is-info">
<span class="icon-text">