Hotfix JS for edit email button not found

This commit is contained in:
Rachid Mrad 2024-08-30 12:05:56 -04:00
parent ec56f176de
commit e59cb9ae7d
No known key found for this signature in database

View file

@ -530,6 +530,8 @@ function initializeWidgetOnList(list, parentId) {
let emailWasSent = document.getElementById("action-needed-email-sent");
let lastSentEmailText = document.getElementById("action-needed-email-last-sent-text");
var editEmailButton = document.getElementById('email-already-sent-modal_continue-editing-button');
// Get the list of e-mails associated with each action-needed dropdown value
let emailData = document.getElementById('action-needed-emails-data');
if (!emailData) {