mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-04-10 23:40:11 +00:00
Fix duplicate HTML element ids in the "Update timeout" modal
This commit is contained in:
parent
461b7ec751
commit
5cd874f1de
2 changed files with 3 additions and 3 deletions
|
@ -243,7 +243,7 @@ $(function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
$("#oncalendar-preview" ).html(data);
|
$("#oncalendar-preview" ).html(data);
|
||||||
var haveError = $("#invalid-arguments").length > 0;
|
var haveError = $("#invalid-oncalendar-arguments").length > 0;
|
||||||
$("#update-oncalendar-submit").prop("disabled", haveError);
|
$("#update-oncalendar-submit").prop("disabled", haveError);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{% load humanize tz %}
|
{% load humanize tz %}
|
||||||
|
|
||||||
{% if bad_schedule %}
|
{% if bad_schedule %}
|
||||||
<p id="invalid-arguments">Invalid OnCalendar expression.</p>
|
<p id="invalid-oncalendar-arguments">Invalid OnCalendar expression.</p>
|
||||||
{% elif bad_tz %}
|
{% elif bad_tz %}
|
||||||
<p id="invalid-arguments">Invalid timezone.</p>
|
<p id="invalid-oncalendar-arguments">Invalid timezone.</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tr><th id="oncalendar-preview-title" colspan="2">Expected Ping Dates</th></tr>
|
<tr><th id="oncalendar-preview-title" colspan="2">Expected Ping Dates</th></tr>
|
||||||
|
|
Loading…
Add table
Reference in a new issue