Clear textbox when checkbox is unchecked.

This commit is contained in:
Scott Ullrich 2008-05-24 06:54:06 +00:00
parent 00b1a7ebc1
commit 36756d851d

View File

@ -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 = '';
}
}