mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Contrary to some reports this is actually usable in some cases, just not
mandatory. Revert "myid_data and peerid_data fields are not relevant with asn1dn."
This reverts commit b8754cc85d.
This commit is contained in:
parent
b8754cc85d
commit
d6908784ee
@ -445,13 +445,10 @@ 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 if (value == 'asn1dn') {
|
||||
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
|
||||
document.getElementById('myid_data').style.visibility = 'visible';
|
||||
}
|
||||
|
||||
function iketype_change() {
|
||||
@ -473,13 +470,10 @@ 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 if (value == 'asn1dn') {
|
||||
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
|
||||
document.getElementById('peerid_data').style.visibility = 'visible';
|
||||
}
|
||||
|
||||
function methodsel_change() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user