allow directory creation when saving files/attachments. patch by Hiro. b=360948 r=josh sr=pinkerton

This commit is contained in:
joshmoz%gmail.com 2006-11-22 07:29:12 +00:00
parent 08d16c0829
commit 03e776671c

View File

@ -304,6 +304,7 @@ nsFilePicker::GetLocalFolder(const nsString& inTitle, nsILocalFile** outFile)
[thePanel setCanChooseDirectories:YES];
[thePanel setCanChooseFiles:NO];
[thePanel setResolvesAliases:YES]; //this is default - probably doesn't need to be set
[thePanel setCanCreateDirectories:YES];
// packages != folders
[thePanel setTreatsFilePackagesAsDirectories:NO];