summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorJared Dillard <jdillard@netgate.com>2015-09-24 11:47:56 -0500
committerJared Dillard <jdillard@netgate.com>2015-09-24 11:48:03 -0500
commiteef931443d426e1a5a75352a75cd881d8223d979 (patch)
tree176dba700001cd0ccfca56e76bf6ac20fdb30945 /src/usr/local/www/interfaces.php
parentd94da29844316954348a3f7c97fff93de15051f9 (diff)
downloadpfsense-eef931443d426e1a5a75352a75cd881d8223d979.zip
pfsense-eef931443d426e1a5a75352a75cd881d8223d979.tar.gz
Ticket #5204 a clean up pass of the jquery sections
Diffstat (limited to 'src/usr/local/www/interfaces.php')
-rw-r--r--src/usr/local/www/interfaces.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php
index 8377dc1..6e8b264 100644
--- a/src/usr/local/www/interfaces.php
+++ b/src/usr/local/www/interfaces.php
@@ -3688,7 +3688,8 @@ events.push(function(){
}
}
- // On page load . .
+ // ---------- On initial page load ------------------------------------------------------------
+
updateType($('#type').val());
updateTypeSix($('#type6').val());
show_reset_settings($('#pppoe-reset-type').val());
@@ -3703,7 +3704,8 @@ events.push(function(){
show_dhcp6adv();
setDHCPoptions()
- // On click . .
+ // ---------- Click checkbox handlers ---------------------------------------------------------
+
$('#type').on('change', function() {
updateType( this.value );
});
OpenPOWER on IntegriCloud