add:  okButton.disabled = true; 
context: function onSelect(file) {  var path = file.unicodeLeafName;  if (path) {    if ((filePickerMode == nsIFilePicker.modeGetFolder) || file.isFile()) {      textInput.value = path;      doEnabling();    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cb41e40a8572a7dae4423b75cacfcb23a7c0f48b/filepicker.js/clean/xpfe/components/filepicker/res/content/filepicker.js