mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 02:25:05 +00:00
System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248
expand PEM output section when importing data
This commit is contained in:
parent
006be3a0c4
commit
b8bd667d64
@ -115,6 +115,7 @@
|
||||
<type>header</type>
|
||||
<label>Output (PEM format)</label>
|
||||
<collapse>true</collapse>
|
||||
<style>pem_section</style>
|
||||
</field>
|
||||
<field>
|
||||
<id>cert.crt_payload</id>
|
||||
|
||||
@ -115,6 +115,12 @@
|
||||
target.show();
|
||||
}
|
||||
});
|
||||
/* expand PEM section */
|
||||
if (['import', 'import_csr'].includes($(this).val())) {
|
||||
if ($(".pem_section > table > tbody > tr:eq(0) > td:eq(0)").is(':hidden')) {
|
||||
$(".pem_section > table > thead").click();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user