summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/javascript/ipsec.js
blob: d38f6cd107d74b5d781764499ddc7d75feb937a2 (plain)
1
2
3
4
5
6
7
8
9
function updateIpsec() {
	selectIntLink = "ipsecDetailed";
	ipsecsettings = "ipsecDetail=";
	ipsecsettings += d.getElementById(selectIntLink).checked;

	selectIntLink = "ipsec-config";
	textlink = d.getElementById(selectIntLink);
	textlink.value = ipsecsettings;
}
OpenPOWER on IntegriCloud