Pr suggestions

This commit is contained in:
zandercymatics 2023-12-08 15:56:23 -07:00
parent b85f1e9d1b
commit 2b36f1891b
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 2 additions and 21 deletions

View file

@ -63,25 +63,6 @@ function openInNewTab(el, removeAttribute = false){
checkToListThenInitWidget('id_alternative_domains_to', 0);
})();
/** An IIFE to capitalize statuses in the Domain Application status dropdown
*/
// (function (){
// function capitalizeFirstLetterInDropdownOptions(dropdown_id) {
// // Grabs the status dropdown
// var selectElement = document.getElementById(dropdown_id);
// if (selectElement) {
// var options = selectElement.options;
// // Loop through each option, and convert to sentence case
// for (var i = 0; i < options.length; i++) {
// var option = options[i];
// option.text = option.text.charAt(0).toUpperCase() + option.text.slice(1).toLowerCase();
// }
// }
// }
// capitalizeFirstLetterInDropdownOptions('id_status');
// })();
// Function to check for the existence of the "to" select list element in the DOM, and if and when found,
// initialize the associated widget
function checkToListThenInitWidget(toListId, attempts) {

View file

@ -79,7 +79,7 @@ secret_registry_cert = b64decode(secret("REGISTRY_CERT", ""))
secret_registry_key = b64decode(secret("REGISTRY_KEY", ""))
secret_registry_key_passphrase = secret("REGISTRY_KEY_PASSPHRASE", "")
secret_registry_hostname = secret("REGISTRY_HOSTNAME")
# WILL REMOVE (TO PUSH TO SANDBOX)
# region: Basic Django Config-----------------------------------------------###
# Build paths inside the project like this: BASE_DIR / "subdir".

View file

@ -258,7 +258,7 @@ class ExportDataTest(TestCase):
)
def tearDown(self):
# Dummy push - will remove
Domain.objects.all().delete()
DomainInformation.objects.all().delete()
User.objects.all().delete()