mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
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:
parent
4e7e8de95b
commit
86cffab0f4
@ -453,7 +453,7 @@ function onFileSelected(file) {
|
||||
}
|
||||
}
|
||||
|
||||
okButton.disabled = true;
|
||||
okButton.disabled = (textField.value != "");
|
||||
}
|
||||
|
||||
function onTextFieldFocus() {
|
||||
|
Loading…
Reference in New Issue
Block a user