From: Morris Jobke Date: Tue, 7 Apr 2015 11:30:08 +0000 (+0200) Subject: Revert "[WIP] Only show SSL table header if there are certificates" X-Git-Tag: v8.1.0alpha1~81^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4334cdc97343ccf672270fe07bf2dfa10c9f4aa0;p=nextcloud-server.git Revert "[WIP] Only show SSL table header if there are certificates" --- diff --git a/settings/js/personal.js b/settings/js/personal.js index 30d7f5e9388..b269ebae3bc 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 = {