diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-05-24 06:54:01 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-05-24 06:54:01 +0000 |
commit | 53075520006e1e453367ed298d71324f38735c18 (patch) | |
tree | bdb6389ee4f009942592d7424d621ec1527f1db7 /usr/local | |
parent | 2dc44e89334012ad123513b63b77d5925f3df1c8 (diff) | |
download | pfsense-53075520006e1e453367ed298d71324f38735c18.zip pfsense-53075520006e1e453367ed298d71324f38735c18.tar.gz |
Clear textbox when checkbox is unchecked.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/system_firmware_settings.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/system_firmware_settings.php b/usr/local/www/system_firmware_settings.php index 4dc457c..67a161d 100755 --- a/usr/local/www/system_firmware_settings.php +++ b/usr/local/www/system_firmware_settings.php @@ -64,7 +64,8 @@ function enable_altfirmwareurl(enable_over) { if (document.iform.alturlenable.checked || enable_over) { document.iform.firmwareurl.disabled = 0; } else { - document.iform.firmwareurl.disabled = 1; + document.iform.firmwareurl.disabled = 1; + document.iform.firmwareurl.value = ''; } } |