improve polling performance and remove unused updateContent module

This commit is contained in:
Beverly Nguyen
2025-09-15 13:16:13 -07:00
parent 5ae6cf7abf
commit f765f19c3b
6 changed files with 140 additions and 101 deletions

View File

@@ -1,14 +1,3 @@
{% macro ajax_block(partials, url, key, finished=False, form='') %}
{% if not finished %}
<div
data-module="update-content"
data-resource="{{ url }}"
data-key="{{ key }}"
data-form="{{ form }}"
>
{% endif %}
{{ partials[key]|safe }}
{% if not finished %}
</div>
{% endif %}
{{ partials[key]|safe }}
{% endmacro %}