rem: fp.setFilters(Components.interfaces.nsIFilePicker.filterAll); 
add: fp.appendFilters(Components.interfaces.nsIFilePicker.filterAll); 
context: function chooseProfileFolder( aRootFolder ){  if( !aRootFolder ) {    try {      var fp = Components.classes["component://mozilla/filepicker"].createInstance(Components.interfaces.nsIFilePicker);      fp.init(window, bundle.GetStringFromName("chooseFolder"), Components.interfaces.nsIFilePicker.modeGetFolder);      fp.setFilters(Components.interfaces.nsIFilePicker.filterAll);      fp.show();      // later change to       aRootFolder = fp.file.unicodePath;    }    catch(e) {      aRootFolder = null;    }  }  if( aRootFolder ) {    var folderText = document.getElementById("ProfileDir");    folderText.setAttribute( "rootFolder", aRootFolder );    if ( aRootFolder != top.profile.defaultProfileParentDir.nativePath )      document.getElementById( "useDefault" ).removeAttribute("disabled");    updateProfileName();  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/2804c173c560ade19a248b6f40dac0f2b5e0587d/newProfile1_2.js/buggy/profile/resources/content/newProfile1_2.js