mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 00:42:16 +02:00
check for page
This commit is contained in:
parent
e37a95ee1e
commit
c084ec62f0
1 changed files with 6 additions and 4 deletions
|
@ -668,12 +668,13 @@ class customActionNeededEmail extends CustomizableEmailBase {
|
|||
* This shows the auto generated email on action needed reason.
|
||||
*/
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const customEmail = new customActionNeededEmail();
|
||||
if (!customEmail.dropdown || !customEmail.textarea || !customEmail.domainRequestId || !customEmail.formLabel || !customEmail.modalConfirm){
|
||||
const domainRequestForm = document.getElementById("domainrequest_form");
|
||||
if (!domainRequestForm) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Initialize UI
|
||||
const customEmail = new customActionNeededEmail();
|
||||
customEmail.loadActionNeededEmail()
|
||||
});
|
||||
|
||||
|
@ -738,12 +739,13 @@ class customRejectedEmail extends CustomizableEmailBase {
|
|||
* This shows the auto generated email on action needed reason.
|
||||
*/
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const customEmail = new customRejectedEmail();
|
||||
if (!customEmail.dropdown || !customEmail.textarea || !customEmail.domainRequestId || !customEmail.formLabel || !customEmail.modalConfirm){
|
||||
const domainRequestForm = document.getElementById("domainrequest_form");
|
||||
if (!domainRequestForm) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Initialize UI
|
||||
const customEmail = new customRejectedEmail();
|
||||
customEmail.loadRejectedEmail()
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue