add: else { doSetOKCancel(selectOnOK, onCancel); switch(filePickerMode) { case nsIFilePicker.modeGetFolder: buttonLabel = gFilePickerBundle.getString("selectFolderButtonLabel"); break; case nsIFilePicker.modeOpen: buttonLabel = gFilePickerBundle.getString("openButtonLabel"); break; case nsIFilePicker.modeSave: buttonLabel = gFilePickerBundle.getString("saveButtonLabel"); break; } }  return buttonLabel; 
context: function getOKAction(file) {  if (file && file.isDirectory() && filePickerMode != nsIFilePicker.modeGetFolder)    return gFilePickerBundle.getString("openButtonLabel");  switch(filePickerMode) {  case nsIFilePicker.modeGetFolder:    return gFilePickerBundle.getString("selectFolderButtonLabel");    break;  case nsIFilePicker.modeOpen:    return gFilePickerBundle.getString("openButtonLabel");    break;  case nsIFilePicker.modeSave:    return gFilePickerBundle.getString("saveButtonLabel");    break;  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/dd91f767b6b31ce043f00aa91ce0bad9a609479d/filepicker.js/clean/xpfe/components/filepicker/res/content/filepicker.js