Make sure the state of the ok button is correct even if the window does not get initial focus (bug 98480). r=jag, sr=ben.

This commit is contained in:
bryner%netscape.com 2001-11-15 05:37:32 +00:00
parent 4e7e8de95b
commit 86cffab0f4

View File

@ -453,7 +453,7 @@ function onFileSelected(file) {
}
}
okButton.disabled = true;
okButton.disabled = (textField.value != "");
}
function onTextFieldFocus() {