Revision adaa3f75
Added by Daniel Rasmussen over 13 years ago
usr/local/www/services_dhcpv6.php | ||
---|---|---|
401 | 401 |
document.iform.dns2.disabled = endis; |
402 | 402 |
document.iform.deftime.disabled = endis; |
403 | 403 |
document.iform.maxtime.disabled = endis; |
404 |
document.iform.gateway.disabled = endis; |
|
404 |
//document.iform.gateway.disabled = endis;
|
|
405 | 405 |
document.iform.failover_peerip.disabled = endis; |
406 | 406 |
document.iform.dhcpv6leaseinlocaltime.disabled = endis; |
407 | 407 |
document.iform.domain.disabled = endis; |
408 | 408 |
document.iform.domainsearchlist.disabled = endis; |
409 | 409 |
document.iform.ddnsdomain.disabled = endis; |
410 | 410 |
document.iform.ddnsupdate.disabled = endis; |
411 |
document.iform.ntp1.disabled = endis; |
|
412 |
document.iform.ntp2.disabled = endis; |
|
413 |
document.iform.tftp.disabled = endis; |
|
411 |
//document.iform.ntp1.disabled = endis;
|
|
412 |
//document.iform.ntp2.disabled = endis;
|
|
413 |
//document.iform.tftp.disabled = endis;
|
|
414 | 414 |
document.iform.ldap.disabled = endis; |
415 | 415 |
document.iform.netboot.disabled = endis; |
416 | 416 |
document.iform.nextserver.disabled = endis; |
Also available in: Unified diff
Commenting those lines out because the form fields are not generated because they are commented out in the code. This fixes javascript error and now will disable all form fields when interface is disabled.