Fix for 87629. Submitted by ben@netscape.com, r=me, sr=alecf@netscape.com.

git-svn-id: svn://10.0.0.236/trunk@98248 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2001-06-29 04:46:39 +00:00
parent 7ceec8751b
commit a8a0f0be65

View File

@@ -188,7 +188,8 @@ function onOK()
const kLFIID = Components.interfaces.nsILocalFile;
const kLF = Components.classes[kLFContractID].createInstance(kLFIID);
kLF.initWithUnicodePath(url);
url = kLF.URL;
if (kLF.exists())
url = kLF.URL;
}
catch (e) {
}