rem: okButton.disabled = (textField.value != ""); 
add: okButton.disabled = (textInput.value != ""); 
context: function onFileSelected(file) {  if (file) {    var path = file.unicodeLeafName;        if (path) {      if ((filePickerMode == nsIFilePicker.modeGetFolder) || !file.isDirectory())        textInput.value = path;            var buttonLabel = getOKAction(file);      okButton.setAttribute("label", buttonLabel);      okButton.disabled = false;      return;    }  }  okButton.disabled = (textField.value != "");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/bbc83df10641adba9169bedcdf352be6ea5f601d/filepicker.js/buggy/xpfe/components/filepicker/res/content/filepicker.js