mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 04:59:59 +02:00
Merge pull request #1714 from cisagov/rh/1500-cleanup
ISSUE 1500: get-gov.js clean up
This commit is contained in:
commit
a9f522d076
2 changed files with 1 additions and 2 deletions
|
@ -219,8 +219,8 @@ function validateFormsetInputs(e, availabilityButton) {
|
||||||
|
|
||||||
// Run validators for each input
|
// Run validators for each input
|
||||||
inputs.forEach(input => {
|
inputs.forEach(input => {
|
||||||
runValidators(input);
|
|
||||||
removeFormErrors(input, true);
|
removeFormErrors(input, true);
|
||||||
|
runValidators(input);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Set the validate-for attribute on the button with the collected input IDs
|
// Set the validate-for attribute on the button with the collected input IDs
|
||||||
|
|
|
@ -48,7 +48,6 @@
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
<button
|
<button
|
||||||
id="check-availability-button"
|
|
||||||
type="button"
|
type="button"
|
||||||
class="usa-button usa-button--outline"
|
class="usa-button usa-button--outline"
|
||||||
validate-for="{{ forms.0.requested_domain.auto_id }}"
|
validate-for="{{ forms.0.requested_domain.auto_id }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue