зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
6401f8e889
Коммит
981e537817
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче