NIFI-12250: (#7908)

- Fixing issue where the registry configuration dialog was being initialized twice.
This commit is contained in:
Matt Gilman 2023-10-19 15:53:07 -04:00 committed by GitHub
parent 015b721800
commit 98eef74dd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 26 deletions

View File

@ -1192,19 +1192,6 @@
}
}
});
// initialize the registry configuration dialog
$('#registry-configuration-dialog').modal({
scrollableContentStyle: 'scrollable',
handler: {
close: function () {
$('#registry-id-config').text('');
$('#registry-name-config').val('');
$('#registry-type-config').val('');
$('#registry-description-config').val('');
}
}
});
};
/**
@ -2504,19 +2491,6 @@
}
}
});
// initialize the registry configuration dialog
$('#registry-configuration-dialog').modal({
scrollableContentStyle: 'scrollable',
handler: {
close: function () {
$('#registry-id').text('');
$('#registry-name').val('');
$('#registry-location').val('');
$('#registry-description').val('');
}
}
});
};
/**
@ -3902,6 +3876,19 @@
}
});
// initialize the registry configuration dialog
$('#registry-configuration-dialog').modal({
scrollableContentStyle: 'scrollable',
handler: {
close: function () {
$('#registry-id-config').text('');
$('#registry-name-config').val('');
$('#registry-type-config').val('');
$('#registry-description-config').val('');
}
}
});
// initialize each tab
initGeneral();
nfControllerServices.init(getControllerServicesTable(), nfSettings.showSettings);