mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
Fix errs
This commit is contained in:
parent
c772c71707
commit
8876e47a02
2 changed files with 2 additions and 2 deletions
|
@ -240,7 +240,7 @@ class DomainRequestAdminForm(forms.ModelForm):
|
|||
# If the status is rejected, a rejection reason must exist
|
||||
if status == DomainRequest.DomainRequestStatus.REJECTED:
|
||||
self._check_for_valid_rejection_reason(rejection_reason)
|
||||
elif status == DomainRequest.DomainRequestStatus.IN_REVIEW:
|
||||
elif status == DomainRequest.DomainRequestStatus.ACTION_NEEDED:
|
||||
self._check_for_valid_action_needed_reason(action_needed_reason)
|
||||
|
||||
return cleaned_data
|
||||
|
|
|
@ -370,7 +370,7 @@ function initializeWidgetOnList(list, parentId) {
|
|||
|
||||
// Show/hude the action needed reason
|
||||
let actionNeededReasonFormGroup = document.querySelector('.field-action_needed_reason');
|
||||
showHideFieldsOnStatusChange(actionNeededReasonFormGroup, "action_needed", "hide_action_needed_reason");
|
||||
showHideFieldsOnStatusChange(actionNeededReasonFormGroup, "action needed", "hide_action_needed_reason");
|
||||
}
|
||||
handleStatusChanges();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue