allow directory creation when saving files/attachments. patch by Hiro. b=360948 r=josh sr=pinkerton (re-landing)

git-svn-id: svn://10.0.0.236/trunk@215674 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
joshmoz%gmail.com
2006-11-22 17:35:52 +00:00
parent ceebb4e33f
commit b249c4e0aa

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];