mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-26 13:20:54 -05:00
Revert "Comment out ajax queries to update content on frontend."
This reverts commit 651584d056.
Should be safe to turn the AJAX back on now it’s not going to
denial-of-service any slow pages.
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
<div
|
||||
{% if not finished %}
|
||||
{#data-module="update-content"
|
||||
data-module="update-content"
|
||||
data-resource="{{url_for(".view_job_updates", service_id=current_service.id, job_id=job.id)}}"
|
||||
data-key="counts"#}
|
||||
data-key="counts"
|
||||
aria-live="polite"
|
||||
{% endif %}
|
||||
>
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
<div
|
||||
{% if not finished %}
|
||||
{#data-module="update-content"
|
||||
data-module="update-content"
|
||||
data-resource="{{url_for(".view_job_updates", service_id=current_service.id, job_id=job.id)}}"
|
||||
data-key="notifications"#}
|
||||
data-key="notifications"
|
||||
aria-live="polite"
|
||||
{% endif %}
|
||||
>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<div
|
||||
{% if not finished %}
|
||||
{#data-module="update-content"
|
||||
data-module="update-content"
|
||||
data-resource="{{url_for(".view_job_updates", service_id=current_service.id, job_id=job.id)}}"
|
||||
data-key="status"#}
|
||||
data-key="status"
|
||||
aria-live="polite"
|
||||
{% endif %}
|
||||
>
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
{% from "components/table.html" import list_table, field, right_aligned_field_heading, hidden_field_heading %}
|
||||
|
||||
<div
|
||||
{#data-module="update-content"
|
||||
data-module="update-content"
|
||||
data-resource="{{url_for(".service_dashboard_updates", service_id=current_service.id)}}"
|
||||
data-key="today"
|
||||
data-interval-seconds="2"#}
|
||||
data-interval-seconds="2"
|
||||
aria-live="polite"
|
||||
>
|
||||
<div class="grid-row">
|
||||
|
||||
Reference in New Issue
Block a user