mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 10:16:13 +02:00
Update get-gov-admin.js
This commit is contained in:
parent
81aa48d084
commit
f5dcb8ea35
1 changed files with 2 additions and 2 deletions
|
@ -578,8 +578,8 @@ function initializeWidgetOnList(list, parentId) {
|
|||
function handleChangeActionNeededEmail(actionNeededReasonDropdown, actionNeededEmail) {
|
||||
actionNeededReasonDropdown.addEventListener("change", function() {
|
||||
let noEmailMessage = document.getElementById("no-email-message");
|
||||
let reason = actionNeededReasonDropdown.value;
|
||||
const pk = document.querySelector("#domain_request_id").value;
|
||||
const reason = actionNeededReasonDropdown.value;
|
||||
|
||||
// If a reason isn't specified, no email will be sent.
|
||||
// You also cannot save the model in this state.
|
||||
|
@ -591,7 +591,7 @@ function initializeWidgetOnList(list, parentId) {
|
|||
// Show the "no email" message
|
||||
showElement(noEmailMessage);
|
||||
return;
|
||||
}else if(changeLog && changeLog.classList.contains("display-none") && actionNeededReasonDropdown.value){
|
||||
}else if(reason && changeLog && changeLog.classList.contains("display-none")){
|
||||
showElement(changeLog);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue