mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
Pr suggestions
This commit is contained in:
parent
b85f1e9d1b
commit
2b36f1891b
3 changed files with 2 additions and 21 deletions
|
@ -63,25 +63,6 @@ function openInNewTab(el, removeAttribute = false){
|
||||||
checkToListThenInitWidget('id_alternative_domains_to', 0);
|
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,
|
// Function to check for the existence of the "to" select list element in the DOM, and if and when found,
|
||||||
// initialize the associated widget
|
// initialize the associated widget
|
||||||
function checkToListThenInitWidget(toListId, attempts) {
|
function checkToListThenInitWidget(toListId, attempts) {
|
||||||
|
|
|
@ -79,7 +79,7 @@ secret_registry_cert = b64decode(secret("REGISTRY_CERT", ""))
|
||||||
secret_registry_key = b64decode(secret("REGISTRY_KEY", ""))
|
secret_registry_key = b64decode(secret("REGISTRY_KEY", ""))
|
||||||
secret_registry_key_passphrase = secret("REGISTRY_KEY_PASSPHRASE", "")
|
secret_registry_key_passphrase = secret("REGISTRY_KEY_PASSPHRASE", "")
|
||||||
secret_registry_hostname = secret("REGISTRY_HOSTNAME")
|
secret_registry_hostname = secret("REGISTRY_HOSTNAME")
|
||||||
# WILL REMOVE (TO PUSH TO SANDBOX)
|
|
||||||
# region: Basic Django Config-----------------------------------------------###
|
# region: Basic Django Config-----------------------------------------------###
|
||||||
|
|
||||||
# Build paths inside the project like this: BASE_DIR / "subdir".
|
# Build paths inside the project like this: BASE_DIR / "subdir".
|
||||||
|
|
|
@ -258,7 +258,7 @@ class ExportDataTest(TestCase):
|
||||||
)
|
)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
# Dummy push - will remove
|
|
||||||
Domain.objects.all().delete()
|
Domain.objects.all().delete()
|
||||||
DomainInformation.objects.all().delete()
|
DomainInformation.objects.all().delete()
|
||||||
User.objects.all().delete()
|
User.objects.all().delete()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue