rem: if ( e.detail == 2 ) doConfirm(e.target.parentNode); 
add: if ( e.detail == 2 ) { var file = URLpathToFile(e.target.parentNode.getAttribute("path"));  if (file.isDirectory()) { gotoDirectory(file); } else if (file.isFile()) { /* what about symlinks? what if they symlink to a directory? */ return doOKButton(); } } 
context: function onClick(e) {  if ( e.detail == 2 )    doConfirm(e.target.parentNode);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b105a9dcb9e30adbe8961f8c5e2bb52ecceeeaee/filepicker.js/buggy/xpfe/components/filepicker/res/content/filepicker.js