pari: branch aadk r602 - /branches/aadk/config/networking.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Tue Apr 3 16:11:10 MST 2007


Author: pari
Date: Tue Apr  3 18:11:09 2007
New Revision: 602

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=602
Log:
some more fixes for enable/disable fields based on dhcp_lan & dhcp_wan 

Modified:
    branches/aadk/config/networking.html

Modified: branches/aadk/config/networking.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/networking.html?view=diff&rev=602&r1=601&r2=602
==============================================================================
--- branches/aadk/config/networking.html (original)
+++ branches/aadk/config/networking.html Tue Apr  3 18:11:09 2007
@@ -62,15 +62,18 @@
 
 	function enabledisable_dhcplan(){
 		if( _$('DHCP_LAN').checked ){
-			_$('IP_LAN').disabled = true;
-			_$('SUBNET_LAN').disabled = true;
-			_$('GATEWAY_LAN').disabled = true;
-			_$('DNS_LAN').disabled = true;
+			_$('START_RANGE_LAN').disabled = false;
+			_$('END_RANGE_LAN').disabled = false;
+			_$('LEASE_LAN').disabled = false;
+			_$('MAX_LEASE').disabled = false;
+			_$('ROUTER_LAN').disabled = false;
+
 		}else{
-			_$('IP_LAN').disabled = false;
-			_$('SUBNET_LAN').disabled = false;
-			_$('GATEWAY_LAN').disabled = false;
-			_$('DNS_LAN').disabled = false;
+			_$('START_RANGE_LAN').disabled = true;
+			_$('END_RANGE_LAN').disabled = true;
+			_$('LEASE_LAN').disabled = true;
+			_$('MAX_LEASE').disabled = true;
+			_$('ROUTER_LAN').disabled = true;
 		}
 	}
 



More information about the asterisk-gui-commits mailing list