]> source.dussan.org Git - nextcloud-server.git/commitdiff
Revert "[WIP] Only show SSL table header if there are certificates"
authorMorris Jobke <hey@morrisjobke.de>
Tue, 7 Apr 2015 11:30:08 +0000 (13:30 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 7 Apr 2015 11:30:08 +0000 (13:30 +0200)
settings/js/personal.js

index 30d7f5e93889e8243884938965da7529d70bd501..b269ebae3bcb51ff5184436a590ef561984168c8 100644 (file)
@@ -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 = {