mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 03:06:01 +02:00
console logs for dev
This commit is contained in:
parent
b96be921ea
commit
3e100d28c3
1 changed files with 3 additions and 0 deletions
|
@ -188,6 +188,7 @@ export class NameserverForm {
|
|||
*/
|
||||
executeCallback() {
|
||||
if (this.callback) {
|
||||
console.log("callback")
|
||||
this.callback();
|
||||
this.callback = null;
|
||||
} else {
|
||||
|
@ -205,6 +206,7 @@ export class NameserverForm {
|
|||
document.querySelectorAll('tr.edit-row:not(.display-none)').forEach(openEditRow => {
|
||||
this.resetEditRowAndFormAndCollapseEditRow(openEditRow);
|
||||
});
|
||||
console.log("this.addNameserversForm " + this.addNameserversForm);
|
||||
if (this.addNameserversForm) {
|
||||
// Check if this.addNameserversForm is visible (i.e., does not have 'display-none')
|
||||
if (!this.addNameserversForm.classList.contains('display-none')) {
|
||||
|
@ -217,6 +219,7 @@ export class NameserverForm {
|
|||
}
|
||||
};
|
||||
if (this.formChanged) {
|
||||
console.log("this.formChanged")
|
||||
//------- Show the unsaved changes confirmation modal
|
||||
let modalTrigger = document.querySelector("#unsaved_changes_trigger");
|
||||
if (modalTrigger) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue