rem: else if (e.keyCode == 13) { /* enter */ var fileList = treeView.selectedFiles; if (fileList.length > 0) { var file = fileList.queryElementAt(0, nsIFile); if (file.isDirectory()) { gotoDirectory(file); e.preventDefault(); } } } 
add:  /* enter is handled by the ondialogaccept handler */ 
context: function onKeypress(e) {  if (e.keyCode == 8) /* backspace */    goUp();  else if (e.keyCode == 13) { /* enter */    var fileList = treeView.selectedFiles;    if (fileList.length > 0) {      var file = fileList.queryElementAt(0, nsIFile);      if (file.isDirectory()) {        gotoDirectory(file);        e.preventDefault();      }    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/aaa904d3e486f21735175846742d474e167dc6ff/filepicker.js/clean/toolkit/components/filepicker/content/filepicker.js