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

This commit is contained in:
dougt%netscape.com 2001-06-29 04:46:39 +00:00
parent e678fa74bf
commit 4d940b63a7

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) {
}