summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-24 19:50:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-24 19:50:46 +0000
commit57e97d71c81893b7bd96346969eee179d91a0841 (patch)
treea91dcdb8f44c753e7dc8f4d808f6d63edfa370d9 /usr
parent5b7bca97f8c09237322b62956b7b14fcc3eca351 (diff)
downloadpfsense-57e97d71c81893b7bd96346969eee179d91a0841.zip
pfsense-57e97d71c81893b7bd96346969eee179d91a0841.tar.gz
Disable type button if bridging is enabled
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces_opt.php2
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;
OpenPOWER on IntegriCloud