summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/widgets/javascript/ipsec.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/widgets/javascript/ipsec.js')
-rw-r--r--src/usr/local/www/widgets/javascript/ipsec.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/local/www/widgets/javascript/ipsec.js b/src/usr/local/www/widgets/javascript/ipsec.js
new file mode 100644
index 0000000..d38f6cd
--- /dev/null
+++ b/src/usr/local/www/widgets/javascript/ipsec.js
@@ -0,0 +1,9 @@
+function updateIpsec() {
+ selectIntLink = "ipsecDetailed";
+ ipsecsettings = "ipsecDetail=";
+ ipsecsettings += d.getElementById(selectIntLink).checked;
+
+ selectIntLink = "ipsec-config";
+ textlink = d.getElementById(selectIntLink);
+ textlink.value = ipsecsettings;
+} \ No newline at end of file
OpenPOWER on IntegriCloud