Revert "[WIP] Only show SSL table header if there are certificates"
This commit is contained in:
parent
2b6e13d088
commit
4334cdc973
1 changed files with 0 additions and 9 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue