diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-05 02:52:10 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-05 02:52:10 +0000 |
commit | 197b2a47a9d171563a406d2882831c7b962f6a66 (patch) | |
tree | 87f3cb4818d417ad11e93694e80f60c3bff6475d /usr/local/www/javascript | |
parent | 47042140c9e360fafc832e63b434ab34bb008e48 (diff) | |
download | pfsense-197b2a47a9d171563a406d2882831c7b962f6a66.zip pfsense-197b2a47a9d171563a406d2882831c7b962f6a66.tar.gz |
Turn advanced option are into a default to no show area as well.
Diffstat (limited to 'usr/local/www/javascript')
-rw-r--r-- | usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js b/usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js index c24f243..e0774fc 100644 --- a/usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js +++ b/usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js @@ -119,6 +119,12 @@ function proto_change() { } } +function show_aodiv() { + document.getElementById("aoadv").innerHTML=''; + aodiv = document.getElementById('aodivmain'); + aodiv.style.display = "block"; +} + function src_rep_change() { document.iform.srcendport.selectedIndex = document.iform.srcbeginport.selectedIndex; } @@ -126,8 +132,6 @@ function dst_rep_change() { document.iform.dstendport.selectedIndex = document.iform.dstbeginport.selectedIndex; } - - window.onload = function () { var oTextbox1 = new AutoSuggestControl(document.getElementById("src"), new StateSuggestions(addressarray)); var oTextbox2 = new AutoSuggestControl(document.getElementById("srcbeginport_cust"), new StateSuggestions(customarray)); |