Merge pull request #15432 from owncloud/revert-15345-fix_15263

Revert "[WIP] Only show SSL table header if there are certificates"
This commit is contained in:
Morris Jobke 2015-04-07 13:30:14 +02:00
commit 9694dabd5e

View 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 = {