mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
improve polling performance and remove unused updateContent module
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user