forked from GithubBackups/healthchecks
Fix refreshing of the checks page filtered by tags. Fixes #221
This commit is contained in:
parent
5cbd99cb5c
commit
63b15d74a5
@ -6,6 +6,9 @@ All notable changes to this project will be documented in this file.
|
||||
### Improvements
|
||||
- Add the "desc" field (check's description) to API responses
|
||||
|
||||
### Bug Fixes
|
||||
- Fix refreshing of the checks page filtered by tags (#221)
|
||||
|
||||
|
||||
## 1.5.0 - 2019-02-04
|
||||
|
||||
|
@ -79,7 +79,7 @@ $(function () {
|
||||
|
||||
// Update hash
|
||||
if (window.history && window.history.replaceState) {
|
||||
var url = "/checks/";
|
||||
var url = $("#checks-table").data("list-url");;
|
||||
if (qs.length) {
|
||||
url += "?" + $.param(qs);
|
||||
}
|
||||
|
@ -2,6 +2,7 @@
|
||||
<table
|
||||
id="checks-table"
|
||||
class="table"
|
||||
data-list-url="{% url 'hc-checks' project.code %}"
|
||||
data-status-url="{% url 'hc-status' project.code %}">
|
||||
<tr>
|
||||
<th></th>
|
||||
|
Loading…
x
Reference in New Issue
Block a user