Bug 245381 - "Choose Folder" button non-functional in profile-creation wizard.
git-svn-id: svn://10.0.0.236/branches/AVIARY_1_0_20040515_BRANCH@157327 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -92,18 +92,12 @@ function chooseProfileFolder()
|
||||
{
|
||||
var newProfileRoot;
|
||||
|
||||
try {
|
||||
var dirChooser = C["@mozilla.org/filepicker;1"].createInstance(I.nsIFilePicker);
|
||||
dirChooser.init(window, gProfileManagerBundle.getString("chooseFolder"),
|
||||
I.nsIFilePicker.modeGetFolder);
|
||||
dirChooser.appendFilters(I.nsIFilePicker.filterAll);
|
||||
dirChooser.show();
|
||||
newProfileRoot = dirChooser.file;
|
||||
}
|
||||
catch(e) {
|
||||
// If something fails, change nothing.
|
||||
return;
|
||||
}
|
||||
var dirChooser = C["@mozilla.org/filepicker;1"].createInstance(I.nsIFilePicker);
|
||||
dirChooser.init(window, gProfileManagerBundle.getString("chooseFolder"),
|
||||
I.nsIFilePicker.modeGetFolder);
|
||||
dirChooser.appendFilters(I.nsIFilePicker.filterAll);
|
||||
dirChooser.show();
|
||||
newProfileRoot = dirChooser.file;
|
||||
|
||||
// Disable the "Default Folder..." button when the default profile folder
|
||||
// was selected manually in the File Picker.
|
||||
|
||||
@@ -14,6 +14,10 @@ renameProfilePrompt=Rename the profile "%S" to:
|
||||
profileNameInvalidTitle=Invalid profile name
|
||||
profileNameInvalid=The profile name "%S" is not allowed.
|
||||
|
||||
chooseFolder=Choose Profile Folder
|
||||
profileNameEmpty=An empty profile name is not allowed.
|
||||
invalidChar=The character "%S" is not allowed in profile names. Please choose a different name.
|
||||
|
||||
deleteTitle=Delete Profile
|
||||
deleteProfile=Deleting a profile will remove the profile from the list of available profiles and cannot be undone.\nYou may also choose to delete the profile data files, including your saved mail, settings, and certificates. This option will delete the folder "%S" and cannot be undone.\nWould you like to delete the profile data files?
|
||||
deleteFiles=Delete Files
|
||||
|
||||
Reference in New Issue
Block a user