Fixing 48752 - filepicker doesn't show any files. This is fallout from

the recent changes to nsDirectoryService.  r=disttsc@bart.nl.
This commit is contained in:
bryner%uiuc.edu 2000-08-13 06:12:00 +00:00
parent 24717ecaca
commit faa949e960

View File

@ -86,7 +86,7 @@ function onLoad() {
// Start in the user's home directory
var dirServiceProvider = Components.classes[nsIDirectoryServiceProvider_PROGID].getService().QueryInterface(nsIDirectoryServiceProvider);
var persistent = new Object();
var homeDir = dirServiceProvider.getFile("system.HomeDirectory", persistent);
var homeDir = dirServiceProvider.getFile("Home", persistent);
sfile.initWithPath(homeDir.path);
}