mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 11:16:07 +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() {
|
executeCallback() {
|
||||||
if (this.callback) {
|
if (this.callback) {
|
||||||
|
console.log("callback")
|
||||||
this.callback();
|
this.callback();
|
||||||
this.callback = null;
|
this.callback = null;
|
||||||
} else {
|
} else {
|
||||||
|
@ -205,6 +206,7 @@ export class NameserverForm {
|
||||||
document.querySelectorAll('tr.edit-row:not(.display-none)').forEach(openEditRow => {
|
document.querySelectorAll('tr.edit-row:not(.display-none)').forEach(openEditRow => {
|
||||||
this.resetEditRowAndFormAndCollapseEditRow(openEditRow);
|
this.resetEditRowAndFormAndCollapseEditRow(openEditRow);
|
||||||
});
|
});
|
||||||
|
console.log("this.addNameserversForm " + this.addNameserversForm);
|
||||||
if (this.addNameserversForm) {
|
if (this.addNameserversForm) {
|
||||||
// Check if this.addNameserversForm is visible (i.e., does not have 'display-none')
|
// Check if this.addNameserversForm is visible (i.e., does not have 'display-none')
|
||||||
if (!this.addNameserversForm.classList.contains('display-none')) {
|
if (!this.addNameserversForm.classList.contains('display-none')) {
|
||||||
|
@ -217,6 +219,7 @@ export class NameserverForm {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if (this.formChanged) {
|
if (this.formChanged) {
|
||||||
|
console.log("this.formChanged")
|
||||||
//------- Show the unsaved changes confirmation modal
|
//------- Show the unsaved changes confirmation modal
|
||||||
let modalTrigger = document.querySelector("#unsaved_changes_trigger");
|
let modalTrigger = document.querySelector("#unsaved_changes_trigger");
|
||||||
if (modalTrigger) {
|
if (modalTrigger) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue