rem: gotoDirectory(file); 
add: if (!sfile.equals(file)) { gotoDirectory(file); } 
context: function onDirectoryChanged(target){  var path = target.getAttribute("value");  var file = Components.classes[nsILocalFile_CONTRACTID].createInstance(nsILocalFile);  file.initWithPath(path);  gotoDirectory(file);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e0aa20cfd6a35e56c5ecda3b69cd250516b8120a/filepicker.js/clean/xpfe/components/filepicker/res/content/filepicker.js