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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user