mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-04-14 17:08:29 +00:00
Fix a bug in the log page that caused log events to sometimes load twice
This commit is contained in:
parent
46c70a69ca
commit
da90d33d38
2 changed files with 3 additions and 1 deletions
|
@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file.
|
||||||
- Fix hc.front.views.docs_search to handle words "AND", "OR", "NOT" as queries
|
- Fix hc.front.views.docs_search to handle words "AND", "OR", "NOT" as queries
|
||||||
- Fix integrations to not disclose check's code in incident data
|
- Fix integrations to not disclose check's code in incident data
|
||||||
- Fix integrations to include oncalendar schedules in notifications
|
- Fix integrations to include oncalendar schedules in notifications
|
||||||
|
- Fix a bug in the log page that caused log events to sometimes load twice
|
||||||
|
|
||||||
## v3.3 - 2024-04-03
|
## v3.3 - 2024-04-03
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,9 @@ $(function () {
|
||||||
activeRequest = $.ajax({
|
activeRequest = $.ajax({
|
||||||
url: url + "?" + qs,
|
url: url + "?" + qs,
|
||||||
timeout: 2000,
|
timeout: 2000,
|
||||||
success: function(data) {
|
success: function(data, textStatus, xhr) {
|
||||||
activeRequest = null;
|
activeRequest = null;
|
||||||
|
lastUpdated = xhr.getResponseHeader("X-Last-Event-Timestamp");
|
||||||
var tbody = document.createElement("tbody");
|
var tbody = document.createElement("tbody");
|
||||||
tbody.innerHTML = data;
|
tbody.innerHTML = data;
|
||||||
switchDateFormat(dateFormat, tbody.querySelectorAll("tr"));
|
switchDateFormat(dateFormat, tbody.querySelectorAll("tr"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue