Make -ProfileWizard start the newly created profile b=288098 r=ccarlen sr=me
git-svn-id: svn://10.0.0.236/trunk@171452 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f42d136aca
commit
13408ed3a0
@ -208,9 +208,12 @@ function onFinish()
|
||||
if (window.opener)
|
||||
// Add new profile to the list in the Profile Manager.
|
||||
window.opener.CreateProfile(profileName, gProfileRoot);
|
||||
else
|
||||
else {
|
||||
// Use the newly created Profile.
|
||||
gProfile.currentProfile = profileName;
|
||||
var dialogParams = window.arguments[0].QueryInterface(Components.interfaces.nsIDialogParamBlock);
|
||||
dialogParams.SetInt(0, 1); //set the newly created profile as the default
|
||||
}
|
||||
|
||||
// Exit the wizard.
|
||||
return true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user