rem: if (e.detail == 2) goIn(e.target.parentNode); 
add:  var file = Components.classes[nsILocalFile_PROGID].createInstance(nsILocalFile); file.initWithPath(e.target.parentNode.getAttribute("path"));  if (!file.isDirectory()) { textInput = document.getElementById("textInput"); textInput.value = file.leafName; lastClicked = file.leafName; }  if (e.detail == 2) { if (file.isDirectory()) { gotoDirectory(file.path); } else if (file.isFile()) { /* what about symlinks? what if they symlink to a directory? */ return doOKButton(); } } 
context: function onClick(e) {  if (e.detail == 2)    goIn(e.target.parentNode);}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/24f72bf0697c163291f748fb00bd3de26a9a4d6a/filepicker.js/buggy/xpfe/components/filepicker/res/content/filepicker.js