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