From 4334cdc97343ccf672270fe07bf2dfa10c9f4aa0 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 7 Apr 2015 13:30:08 +0200 Subject: [PATCH] Revert "[WIP] Only show SSL table header if there are certificates" --- settings/js/personal.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/settings/js/personal.js b/settings/js/personal.js index 30d7f5e938..b269ebae3b 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -335,10 +335,6 @@ $(document).ready(function () { cert: row.data('name') }); row.remove(); - - if ($('#sslCertificate > tbody > tr').length === 0) { - $('#sslCertificate').hide(); - } return true; }); @@ -366,17 +362,12 @@ $(document).ready(function () { )); $('#sslCertificate tbody').append(row); - $('#sslCertificate').show(); } }); $('#rootcert_import_button').click(function () { $('#rootcert_import').click(); }); - - if ($('#sslCertificate > tbody > tr').length === 0) { - $('#sslCertificate').hide(); - } }); OC.Encryption = {