diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-24 19:50:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-24 19:50:46 +0000 |
commit | 57e97d71c81893b7bd96346969eee179d91a0841 (patch) | |
tree | a91dcdb8f44c753e7dc8f4d808f6d63edfa370d9 /usr | |
parent | 5b7bca97f8c09237322b62956b7b14fcc3eca351 (diff) | |
download | pfsense-57e97d71c81893b7bd96346969eee179d91a0841.zip pfsense-57e97d71c81893b7bd96346969eee179d91a0841.tar.gz |
Disable type button if bridging is enabled
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces_opt.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php index 4864b82..8464563 100755 --- a/usr/local/www/interfaces_opt.php +++ b/usr/local/www/interfaces_opt.php @@ -211,11 +211,13 @@ function ipaddr_change() { function type_change(enable_change,enable_change_pptp) { switch (document.iform.type.selectedIndex) { case 0: + document.iform.ipaddr.type.disabled = 0; document.iform.ipaddr.disabled = 0; document.iform.subnet.disabled = 0; document.iform.gateway.disabled = 0; break; case 1: + document.iform.ipaddr.type.disabled = 1; document.iform.ipaddr.disabled = 1; document.iform.subnet.disabled = 1; document.iform.gateway.disabled = 1; |