summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-05-24 06:54:01 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-05-24 06:54:01 +0000
commit53075520006e1e453367ed298d71324f38735c18 (patch)
treebdb6389ee4f009942592d7424d621ec1527f1db7 /usr/local
parent2dc44e89334012ad123513b63b77d5925f3df1c8 (diff)
downloadpfsense-53075520006e1e453367ed298d71324f38735c18.zip
pfsense-53075520006e1e453367ed298d71324f38735c18.tar.gz
Clear textbox when checkbox is unchecked.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/system_firmware_settings.php3
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 = '';
}
}
OpenPOWER on IntegriCloud