summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_firmware_settings.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-05-24 06:54:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-05-24 06:54:06 +0000
commit36756d851d3a09acb2fa25ff22f2fc9f0bc6cb1d (patch)
treeb91623e6ab6aecb5424db4ab35393c8365cc5df4 /usr/local/www/system_firmware_settings.php
parent00b1a7ebc15f7ebd597cf6d6a2e6cbcfeccf6c28 (diff)
downloadpfsense-36756d851d3a09acb2fa25ff22f2fc9f0bc6cb1d.zip
pfsense-36756d851d3a09acb2fa25ff22f2fc9f0bc6cb1d.tar.gz
Clear textbox when checkbox is unchecked.
Diffstat (limited to 'usr/local/www/system_firmware_settings.php')
-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..17ffafa 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