rem: if (file.isDirectory()) { gotoDirectory(file); } else if (file.isFile()) { /* what about symlinks? what if they symlink to a directory? */ return doOKButton(); 
add: if (path) { var file = URLpathToFile(path); if (file) { if (file.isDirectory()) { gotoDirectory(file); } else if (file.isFile()) { doOKButton(); } } 
context: function onClick(e) {  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();    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a7d3560f8189090c27578a4fad0fc85fdcea9c15/filepicker.js/clean/xpfe/components/filepicker/res/content/filepicker.js