mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
myid_data and peerid_data fields are not relevant with asn1dn.
This commit is contained in:
parent
693c13cb74
commit
b8754cc85d
@ -445,10 +445,13 @@ include("head.inc");
|
||||
function myidsel_change() {
|
||||
index = document.iform.myid_type.selectedIndex;
|
||||
value = document.iform.myid_type.options[index].value;
|
||||
if (value == 'myaddress')
|
||||
document.getElementById('myid_data').style.visibility = 'hidden';
|
||||
else
|
||||
document.getElementById('myid_data').style.visibility = 'visible';
|
||||
if (value == 'myaddress') {
|
||||
document.getElementById('myid_data').style.visibility = 'hidden';
|
||||
} else if (value == 'asn1dn') {
|
||||
document.getElementById('myid_data').style.visibility = 'hidden';
|
||||
} else {
|
||||
document.getElementById('myid_data').style.visibility = 'visible';
|
||||
}
|
||||
}
|
||||
|
||||
function iketype_change() {
|
||||
@ -470,10 +473,13 @@ function iketype_change() {
|
||||
function peeridsel_change() {
|
||||
index = document.iform.peerid_type.selectedIndex;
|
||||
value = document.iform.peerid_type.options[index].value;
|
||||
if (value == 'peeraddress')
|
||||
document.getElementById('peerid_data').style.visibility = 'hidden';
|
||||
else
|
||||
document.getElementById('peerid_data').style.visibility = 'visible';
|
||||
if (value == 'peeraddress') {
|
||||
document.getElementById('peerid_data').style.visibility = 'hidden';
|
||||
} else if (value == 'asn1dn') {
|
||||
document.getElementById('peerid_data').style.visibility = 'hidden';
|
||||
} else {
|
||||
document.getElementById('peerid_data').style.visibility = 'visible';
|
||||
}
|
||||
}
|
||||
|
||||
function methodsel_change() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user