add an alert if there is no profile name. bug #15402
git-svn-id: svn://10.0.0.236/trunk@50069 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5fc1175eb9
commit
deecdfd350
@ -181,6 +181,10 @@ function processCreateProfileData()
|
||||
profile = profile.QueryInterface(Components.interfaces.nsIProfile);
|
||||
try {
|
||||
//dump("name,dir = " + profName + "," + profDir + "\n");
|
||||
if (profName == "") {
|
||||
alert("You need to enter a profile name.");
|
||||
return;
|
||||
}
|
||||
profile.createNewProfile(profName, profDir);
|
||||
profile.startCommunicator(profName);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user