mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 304290: Treeview of 'Choose Folder' Option in Create Profile/Profile Manager should not point at 'my documents' by default (make it point to the default profile root instead), patch by Simon B�nzli <zeniko@gmail.com>, r=mconnor
This commit is contained in:
parent
7ad0193c28
commit
a2f801cfd6
@ -127,6 +127,10 @@ function chooseProfileFolder()
|
||||
dirChooser.init(window, gProfileManagerBundle.getString("chooseFolder"),
|
||||
I.nsIFilePicker.modeGetFolder);
|
||||
dirChooser.appendFilters(I.nsIFilePicker.filterAll);
|
||||
|
||||
// default to the Profiles folder
|
||||
dirChooser.displayDirectory = gDefaultProfileParent;
|
||||
|
||||
dirChooser.show();
|
||||
newProfileRoot = dirChooser.file;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user