From d386e0a520c8199a6baa306811385ca554dd28b0 Mon Sep 17 00:00:00 2001 From: Tim Bazuin Date: Sat, 3 Aug 2019 21:37:18 +0200 Subject: [PATCH] removed commented out code and old cruft --- public/js/pages/configBuilder.js | 9 --------- views/panel/config_builder.html.twig | 2 -- 2 files changed, 11 deletions(-) diff --git a/public/js/pages/configBuilder.js b/public/js/pages/configBuilder.js index cb7d1b6..2118b60 100644 --- a/public/js/pages/configBuilder.js +++ b/public/js/pages/configBuilder.js @@ -22,9 +22,6 @@ $(function () { function handleKeyFile(element) { keyFileContent = element.target.result; - - console.log(keyFileContent); - // TODO: Add keyfile to embedded server config using forge } // Retrieve zip file with post @@ -33,7 +30,6 @@ $(function () { }); function handleZipResult(data) { - //var blob = new Blob(data, {type: 'application/zip'}); var blobUrl = URL.createObjectURL(data); saveBlobUrl(blobUrl, 'config.zip'); } @@ -121,11 +117,6 @@ $(function () { buildConfigZip.on('click', submitCertificateForm); - // Load content of embedded server config - // Put keyfile content in embedded server config if it is not null - // If the decrypt key checkbox is checked, attempt to decrypt the private key in the embedded server config - // Offer the decrypted server config up as a file - keyLocationContainer.on('show', function () { decryptKeyCheckboxContainer.show(); }); diff --git a/views/panel/config_builder.html.twig b/views/panel/config_builder.html.twig index 2846f3d..1f6a684 100644 --- a/views/panel/config_builder.html.twig +++ b/views/panel/config_builder.html.twig @@ -36,8 +36,6 @@ - -