mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-03 09:43:33 +02:00
Merge branch 'za/2332-display-action-needed-text' of https://github.com/cisagov/manage.get.gov into za/2332-display-action-needed-text
This commit is contained in:
commit
aa26c9c1ca
1 changed files with 0 additions and 2 deletions
|
@ -568,7 +568,6 @@ function initializeWidgetOnList(list, parentId) {
|
||||||
// If we add a value, show it.
|
// If we add a value, show it.
|
||||||
// This edge case applies to fixtures data. Prod data will have a changelog to pull from.
|
// This edge case applies to fixtures data. Prod data will have a changelog to pull from.
|
||||||
let changeLog = document.querySelector(".dja-status-changelog");
|
let changeLog = document.querySelector(".dja-status-changelog");
|
||||||
console.log(`value is ===>${actionNeededReasonDropdown.value}<===`)
|
|
||||||
if(changeLog && changeLog.classList.contains("display-none") && actionNeededReasonDropdown.value){
|
if(changeLog && changeLog.classList.contains("display-none") && actionNeededReasonDropdown.value){
|
||||||
showElement(changeLog);
|
showElement(changeLog);
|
||||||
}
|
}
|
||||||
|
@ -577,7 +576,6 @@ function initializeWidgetOnList(list, parentId) {
|
||||||
handleChangeActionNeededEmail(actionNeededReasonDropdown, actionNeededEmail);
|
handleChangeActionNeededEmail(actionNeededReasonDropdown, actionNeededEmail);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO fix edge case where nothing is selected
|
|
||||||
function handleChangeActionNeededEmail(actionNeededReasonDropdown, actionNeededEmail) {
|
function handleChangeActionNeededEmail(actionNeededReasonDropdown, actionNeededEmail) {
|
||||||
actionNeededReasonDropdown.addEventListener("change", function() {
|
actionNeededReasonDropdown.addEventListener("change", function() {
|
||||||
let noEmailMessage = document.getElementById("no-email-message");
|
let noEmailMessage = document.getElementById("no-email-message");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue